Always use the same argument name in Input.do_command.
This commit is contained in:
parent
14aec23206
commit
4ffe32ac64
1 changed files with 2 additions and 2 deletions
|
@ -704,8 +704,8 @@ class CommandInput(HistoryInput):
|
||||||
self.key_func["M-B"] = self.key_down
|
self.key_func["M-B"] = self.key_down
|
||||||
self.histo_pos = -1
|
self.histo_pos = -1
|
||||||
|
|
||||||
def do_command(self, key, refresh=True, raw=False):
|
def do_command(self, key, reset=True, raw=False):
|
||||||
res = Input.do_command(self, key, refresh, raw)
|
res = Input.do_command(self, key, reset=reset, raw=raw)
|
||||||
if self.on_input:
|
if self.on_input:
|
||||||
self.on_input(self.get_text())
|
self.on_input(self.get_text())
|
||||||
return res
|
return res
|
||||||
|
|
Loading…
Reference in a new issue