[awful] Escape menu command

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-11 15:52:34 +02:00
parent f0131d985d
commit 927d2af72f
1 changed files with 2 additions and 2 deletions

View File

@ -456,10 +456,10 @@ local function menu(p, textbox, exe_callback)
return false
elseif key == "BackSpace" then
command = command:sub(1, #command - 1)
textbox:set("text", p .. command)
textbox:set("text", p .. escape(command))
else
command = command .. key
textbox:set("text", p .. command)
textbox:set("text", p .. escape(command))
end
return true
end)