diff options
Diffstat (limited to 'src/Chelleport.hs')
| -rw-r--r-- | src/Chelleport.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Chelleport.hs b/src/Chelleport.hs index 4ad20a0..d4c21ed 100644 --- a/src/Chelleport.hs +++ b/src/Chelleport.hs @@ -32,6 +32,9 @@ eventHandler state event = -- Esc: Quit | checkKey [key SDL.KeycodeEscape, pressed] ev -> Just ShutdownApp + -- <C-r>: Refresh current mode + | checkKey [ctrl, key SDL.KeycodeR, pressed] ev -> + Just $ SetMode $ stateMode state -- <C-s>: Enable search mode | checkKey [ctrl, key SDL.KeycodeS, pressed] ev -> Just $ SetMode $ ModeSearch def |
