diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2025-03-23 16:16:24 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2025-03-24 08:28:55 +1100 |
| commit | 6fa99d403c0d5884610fd23e59a2fc10ed258a9a (patch) | |
| tree | 8b067f7ae821fcfb42f4bda0fb60a359518a9c77 /src/normal.cc | |
| parent | 43782d0ca11b4eff14ff3ab8274de20140f3567c (diff) | |
Default InputHandler::handle_key() synthesized argument
We have only one place where we handle actual keys typed by the user.
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc index 6aa5b703..6be1a857 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1613,7 +1613,7 @@ void replay_macro(Context& context, NormalParams params) do { for (auto& key : keys) - context.input_handler().handle_key(key, true); + context.input_handler().handle_key(key); } while (--params.count > 0); } @@ -2085,7 +2085,7 @@ void exec_user_mappings(Context& context, NormalParams params) ScopedEdition edition(context); ScopedSelectionEdition selection_edition{context}; for (auto& key : context.keymaps().get_mapping_keys(key, KeymapMode::User)) - context.input_handler().handle_key(key, true); + context.input_handler().handle_key(key); }, "user mapping", build_autoinfo_for_mapping(context, KeymapMode::User, {})); } |
