diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-01-24 23:57:36 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-01-24 23:57:36 +0000 |
| commit | ebcfba12f642fc966b88541af2b518f490cf5b87 (patch) | |
| tree | 2546e36d0da20d941626bb9e7610da7aef0ee917 /src | |
| parent | 8a62ec12af3508b6a911aef7ae68cf9e5921e480 (diff) | |
Add a `RawKey` hook for raw user input hooking
Fixes #1132
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cc b/src/client.cc index 4d0547ec..638c230c 100644 --- a/src/client.cc +++ b/src/client.cc @@ -85,6 +85,8 @@ bool Client::process_pending_inputs() } else m_input_handler.handle_key(key); + + context().hooks().run_hook("RawKey", key_to_str(key), context()); } catch (Kakoune::runtime_error& error) { |
