mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-09-11 23:57:22 +03:00
CustomKeybindingDemo: comment
This commit is contained in:
parent
d7f8e4daf4
commit
dc783e4126
@ -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)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user