CustomKeybindingDemo: comment

This commit is contained in:
Jonathan Daugherty 2022-08-02 19:50:08 -07:00
parent d7f8e4daf4
commit dc783e4126

View File

@ -66,6 +66,9 @@ handlers =
counter %= succ
, K.onEvent DecrementEvent "Decrement the counter" $
counter %= subtract 1
-- This handler is always triggered by a specific key and thus
-- cannot be rebound to another key.
, K.onKey (K.bind '\t') "Increment the counter by 10" $
counter %= (+ 10)
]