diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-07-26 01:44:25 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-07-26 01:50:36 +0200 |
| commit | a4138201b09fa70bbccdeadf1f80bbc9ebe32046 (patch) | |
| tree | 83377e9daba61479805806b7b4d6e2430a2451a3 /src/input_handler.hh | |
| parent | eedd37c09acace58ceadacf8ecf9e883a2fd5a4a (diff) | |
Key: always pass by value
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; |
