Commit 4ffe32ac authored by Link Mauve's avatar Link Mauve
Browse files

Always use the same argument name in Input.do_command.

parent 14aec232
...@@ -704,8 +704,8 @@ class CommandInput(HistoryInput): ...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment