diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-10-13 17:28:51 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-10-13 18:38:07 +0200 |
commit | 0072c9c7e67728723b63e850a2019721754d3e9f (patch) | |
tree | b1a9dd2591e11fb3fe414474822225caa6265a07 /qutebrowser/commands | |
parent | 63947bb2b8733f3cba1840fff293c3e5f76a2837 (diff) | |
download | qutebrowser-0072c9c7e67728723b63e850a2019721754d3e9f.tar.gz qutebrowser-0072c9c7e67728723b63e850a2019721754d3e9f.zip |
Set command_only=True for macro-recorder
See #640
Diffstat (limited to 'qutebrowser/commands')
-rw-r--r-- | qutebrowser/commands/runners.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/commands/runners.py b/qutebrowser/commands/runners.py index c12c2668e..994f7e71a 100644 --- a/qutebrowser/commands/runners.py +++ b/qutebrowser/commands/runners.py @@ -32,6 +32,7 @@ from qutebrowser.config import config from qutebrowser.commands import cmdexc from qutebrowser.utils import message, objreg, qtutils, usertypes, utils from qutebrowser.misc import split, objects +from qutebrowser.keyinput import macros if typing.TYPE_CHECKING: from qutebrowser.mainwindow import tabbedbrowser @@ -383,5 +384,4 @@ class CommandRunner(AbstractCommandRunner): last_command[cur_mode] = (text, count) if record_macro and cur_mode == usertypes.KeyMode.normal: - macro_recorder = objreg.get('macro-recorder') - macro_recorder.record_command(text, count) + macros.macro_recorder.record_command(text, count) |