summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index fb1d9ff6..a36d13f1 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1774,9 +1774,7 @@ void InputHandler::handle_key(Key key)
{
ScopedSetBool disable_history{context().history_disabled()};
- auto& mapping = keymaps.get_mapping(key, keymap_mode);
- ScopedSetBool executing_mapping{mapping.is_executing};
- for (auto& k : mapping.keys)
+ for (auto& k : keymaps.get_mapping_keys(key, keymap_mode))
process_key(k);
}
else