diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-09-11 18:54:30 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-09-11 18:58:23 +0100 |
| commit | 916a0cb52e8637d0e6ec456363ef6412142945da (patch) | |
| tree | 90f23c33c499f1fcf1f77f8f98fc48e5771572a1 /src/input_handler.hh | |
| parent | 96fc340a5c2ab5fa089c2786fcc9a35ff67ccda1 (diff) | |
Allow :exec mode changes to remains when keys are finished
Pass keys one by one to the input handler so that BatchUI is not needed
We can now use :exec to pre-fill the command line without validating
the command.
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index edc9e5e0..4089ac82 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -64,9 +64,8 @@ public: // if callback does not change the mode itself void on_next_key(KeyCallback callback); - // read and process all inputs available in context - // user interface - void handle_available_inputs(); + // process the given key + void handle_key(Key key); void start_recording(char reg); bool is_recording() const; |
