awful.prompt add in history also on 'j' and 'm'

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-13 14:02:38 +01:00
parent 9416bf2419
commit ccfb0b1935
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
return false
elseif key == "j" or key == "m" then
textbox.text = ""
history_add(history_path, command)
exe_callback(command)
if done_callback then done_callback() end
return false