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:
commit
8802560c4a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue