Our app has a need to listen to various control-modified keys (ctrl-u, ctrl-f, ctrl-b, etc.). But:
session {
var keyPressed by liveVarOf<Key?>(null)
section {
if (keyPressed != null) {
textLine("key pressed: $keyPressed")
}
}.runUntilKeyPressed(Keys.Q, Keys.ESC) {
onKeyPressed {
keyPressed = key
}
}
}
…shows those keys are ignored.
Is there an API to listen for those keys?