awful.prompt: fix history save
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8d6e2b57af
commit
6dc84a1c12
|
@ -162,7 +162,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
|
||||||
else
|
else
|
||||||
if key == "Return" then
|
if key == "Return" then
|
||||||
textbox.text = ""
|
textbox.text = ""
|
||||||
data.history_add(history_path, command)
|
history_add(history_path, command)
|
||||||
exe_callback(command)
|
exe_callback(command)
|
||||||
if done_callback then done_callback() end
|
if done_callback then done_callback() end
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue