Call _handle_search before leaving the mode
This commit is contained in:
parent
626abd3c83
commit
acdf0a1c60
@ -186,11 +186,13 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
|
||||
"""
|
||||
text = self.text()
|
||||
self.history.append(text)
|
||||
|
||||
was_search = self._handle_search()
|
||||
|
||||
if not rapid:
|
||||
modeman.leave(self._win_id, usertypes.KeyMode.command,
|
||||
'cmd accept')
|
||||
|
||||
was_search = self._handle_search()
|
||||
if not was_search:
|
||||
self.got_cmd[str].emit(text[1:])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user