From c98624077f69b491ed799107a4c7cb4e3a7def29 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 21 Oct 2010 09:05:40 +0200 Subject: [PATCH] awful.prompt: add ctrl-backspace Signed-off-by: Julien Danjou --- lib/awful/prompt.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/prompt.lua.in b/lib/awful/prompt.lua.in index 7e710fe7..d822c3ee 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -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