awful.prompt: add ctrl-backspace
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8805a99f73
commit
b0e8024e47
|
@ -236,7 +236,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
|
||||||
elseif key == "u" then
|
elseif key == "u" then
|
||||||
command = command:sub(cur_pos, #command)
|
command = command:sub(cur_pos, #command)
|
||||||
cur_pos = 1
|
cur_pos = 1
|
||||||
elseif key == "w" then
|
elseif key == "w" or key == "BackSpace" then
|
||||||
local wstart = 1
|
local wstart = 1
|
||||||
local wend = 1
|
local wend = 1
|
||||||
local cword_start = 1
|
local cword_start = 1
|
||||||
|
|
Loading…
Reference in New Issue