awful: fix index init
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2e4fdbb40d
commit
17900df7db
|
@ -772,8 +772,9 @@ local function prompt_history_load()
|
||||||
if #prompt.history.data.table >= prompt.history.data.max then
|
if #prompt.history.data.table >= prompt.history.data.max then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
prompt.history.data.index = #prompt.history.data.table + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue