awful: fix index init

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Damien Leone 2008-08-11 20:49:37 +02:00 committed by Julien Danjou
parent 2e4fdbb40d
commit 17900df7db
1 changed files with 2 additions and 1 deletions

View File

@ -774,6 +774,7 @@ local function prompt_history_load()
end end
end end
end end
prompt.history.data.index = #prompt.history.data.table + 1
end end
end end