awful.prompt add in history also on 'j' and 'm'
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9416bf2419
commit
ccfb0b1935
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue