diff options
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index ccd8426c..edc9e5e0 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -29,7 +29,7 @@ enum class PromptEvent Validate }; using PromptCallback = std::function<void (const String&, PromptEvent, Context&)>; -using KeyCallback = std::function<void (const Key&, Context&)>; +using KeyCallback = std::function<void (Key, Context&)>; class InputMode; enum class InsertMode : unsigned; |
