awesome/lib/awful
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
..
client.lua.in awful.client: fix urgent.jumpto 2008-11-15 09:53:21 +01:00
completion.lua.in awful.completion: doc fixes 2008-11-07 15:27:51 +01:00
hooks.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
init.lua.in luaa: add more deprecation information 2008-11-14 12:12:01 +01:00
layout.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
menu.lua.in beautiful: merge awful.beautiful, stop registering system 2008-11-13 11:54:23 +01:00
placement.lua.in client, screen: use geometry rather coords as keyword 2008-10-21 15:31:52 +02:00
prompt.lua.in awful.prompt: add trail space in prompt_text_with_cursor() 2008-11-19 13:00:04 +00:00
screen.lua.in awful.screen: enhance doc 2008-11-04 21:09:35 +01:00
tag.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
titlebar.lua.in beautiful: merge awful.beautiful, stop registering system 2008-11-13 11:54:23 +01:00
util.lua.in luaa: add more deprecation information 2008-11-14 12:12:01 +01:00
widget.lua.in awful.widget: document taglist_squares_resize and fix 2008-11-17 20:33:21 +01:00