summaryrefslogtreecommitdiff
path: root/qutebrowser/commands/runners.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/commands/runners.py')
-rw-r--r--qutebrowser/commands/runners.py21
1 files changed, 4 insertions, 17 deletions
diff --git a/qutebrowser/commands/runners.py b/qutebrowser/commands/runners.py
index c9d1db7d0..1ad563c5d 100644
--- a/qutebrowser/commands/runners.py
+++ b/qutebrowser/commands/runners.py
@@ -1,19 +1,6 @@
-# Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
+# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
-# This file is part of qutebrowser.
-#
-# qutebrowser is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# qutebrowser is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-3.0-or-later
"""Module containing command managers (SearchRunner and CommandRunner)."""
@@ -185,10 +172,10 @@ class CommandRunner(AbstractCommandRunner):
result.cmd.run(self._win_id, args, count=count)
- if result.cmdline[0] == 'repeat-command':
+ if result.cmdline[0] in ['repeat-command', 'cmd-repeat-last']:
record_last_command = False
- if result.cmdline[0] in ['macro-record', 'macro-run', 'set-cmd-text']:
+ if result.cmdline[0] in ['macro-record', 'macro-run', 'set-cmd-text', 'cmd-set-text']:
record_macro = False
if record_last_command: