awful.prompt: Tab is now reported as Tab

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-05 11:16:08 +01:00
parent 5751049745
commit 90b1adc0ce
1 changed files with 1 additions and 2 deletions

View File

@ -230,8 +230,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
end
else
if completion_callback then
-- That's tab
if key:byte() == 9 or key == "ISO_Left_Tab" then
if key == "Tab" or key == "ISO_Left_Tab" then
if key == "ISO_Left_Tab" then
if ncomp == 1 then return true end
if ncomp == 2 then