awful.prompt: add ctrl-backspace

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2010-10-21 09:05:40 +02:00
parent 016b76e7bb
commit c98624077f
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
elseif key == "u" then
command = command:sub(cur_pos, #command)
cur_pos = 1
elseif key == "w" then
elseif key == "w" or key == "BackSpace" then
local wstart = 1
local wend = 1
local cword_start = 1