diff options
| author | Maxime Coste <mawww@kakoune.org> | 2022-06-12 21:30:56 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2022-07-05 08:43:40 +1000 |
| commit | f3cb2e434004a718d1225cb0d74c694e66a7248b (patch) | |
| tree | 3db093128a1fac7610e9e339b3fc93493446b831 /src/input_handler.cc | |
| parent | df79d0c2453991c4762c6c6ffbccd714312c87f9 (diff) | |
Remove <esc> as end macro recording, Q should be enough
Besides being redundant, it is easy to press esc by mistake/habit
while recording a macro.
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 9a622559..4f67678e 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -319,6 +319,8 @@ public: command->func(context(), params); } + else + m_params = { 0, 0 }; } context().hooks().run_hook(Hook::NormalKey, key_to_str(key), context()); |
