awful.prompt: fix history save

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-30 09:22:16 +02:00
parent 8d6e2b57af
commit 6dc84a1c12
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
else
if key == "Return" then
textbox.text = ""
data.history_add(history_path, command)
history_add(history_path, command)
exe_callback(command)
if done_callback then done_callback() end
return false