From 90b1adc0ce54f19d721892830f86bfc8ef1d2af7 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 5 Jan 2009 11:16:08 +0100 Subject: [PATCH] awful.prompt: Tab is now reported as Tab Signed-off-by: Julien Danjou --- lib/awful/prompt.lua.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awful/prompt.lua.in b/lib/awful/prompt.lua.in index b21891b4..55261a21 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -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