From f3cb2e434004a718d1225cb0d74c694e66a7248b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 12 Jun 2022 21:30:56 +1000 Subject: Remove as end macro recording, Q should be enough Besides being redundant, it is easy to press esc by mistake/habit while recording a macro. --- src/input_handler.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input_handler.cc') 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()); -- cgit v1.2.3