awesome/lib
koniu 4c031ba398 awful.prompt: add trail space in prompt_text_with_cursor()
Adds a trailing space after text if cursor position < text length to
prevent width of the widget changing particularly useful when using
'text' and 'selectall' to do eg. in-place renaming.

Sample textbox content (# space, _ cursor).

Before:
    textbox before prompt: #term#
selectall prompt textbox : #_erm   <- shorter than other cases
      after pressing end : #term_

After:
    textbox before prompt: #term#
selectall prompt textbox : #_erm#
      after pressing end : #term_

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-19 13:00:04 +00:00
..
awful awful.prompt: add trail space in prompt_text_with_cursor() 2008-11-19 13:00:04 +00:00
beautiful.lua.in beautiful: change description 2008-11-13 15:26:01 +01:00
invaders.lua.in beautiful: merge awful.beautiful, stop registering system 2008-11-13 11:54:23 +01:00
naughty.lua.in naughty: new argument 'width' in notify() 2008-11-19 10:50:19 +00:00
revelation.lua.in revelation: Add arrow key behavior 2008-11-13 23:18:10 +01:00
tabulous.lua.in awful, tabulous: change titles 2008-11-07 15:27:51 +01:00