From be5b8e26329108b6b65ccead3602fa5f3f1841e9 Mon Sep 17 00:00:00 2001 From: Argn0 Date: Wed, 10 Jan 2018 20:02:39 +0100 Subject: [PATCH] option to close commandline by deleting the prefix --- qutebrowser/mainwindow/statusbar/command.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index 4611a186c..145ef3808 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -267,7 +267,6 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): @pyqtSlot(str) def _exit_prefix(self, text): - if config.val.completion.exit_prefix and - (not text or text[0] not in self.prefixes): + if config.val.completion.exit_prefix and (not text or text[0] not in self.prefixes): modeman.leave(self._win_id, usertypes.KeyMode.command, 'prefix deleted', maybe=True)