fix(awful: prompt): fix variable name after luacheck fixup
This commit is contained in:
parent
065dd0d213
commit
d462e10790
|
@ -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