Merge pull request #698 from actionless/fix-awful-prompt-after-luacheck

fix(awful: prompt): fix variable name after luacheck fixup
This commit is contained in:
Uli Schlachter 2016-02-15 10:03:41 +01:00
commit 8802560c4a
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ function prompt.run(args, textbox, exe_callback, completion_callback, history_pa
wstart = wend + 1 wstart = wend + 1
end end
command = command:sub(1, cword_start_pos - 1) .. command:sub(cword_end_pos + 1) command = command:sub(1, cword_start_pos - 1) .. command:sub(cword_end_pos + 1)
cur_pos = cword_start cur_pos = cword_start_pos
elseif key == "Delete" then elseif key == "Delete" then
-- delete from history only if: -- delete from history only if:
-- we are not dealing with a new command -- we are not dealing with a new command