aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/async/input.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-09-01 22:21:19 +0200
committerLinnea Gräf <nea@nea.moe>2024-09-01 22:21:19 +0200
commit5ed74f2df49c93ed1617520a935078b59ad7e195 (patch)
treef0d52699fff7f820bd724902878988859bd43516 /src/main/kotlin/util/async/input.kt
parent816f80f862d2f5de6bc9b0ae84cd6df0da341228 (diff)
downloadfirmament-5ed74f2df49c93ed1617520a935078b59ad7e195.tar.gz
firmament-5ed74f2df49c93ed1617520a935078b59ad7e195.tar.bz2
firmament-5ed74f2df49c93ed1617520a935078b59ad7e195.zip
Add per compat project event listeners
[no changelog]
Diffstat (limited to 'src/main/kotlin/util/async/input.kt')
-rw-r--r--src/main/kotlin/util/async/input.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/util/async/input.kt b/src/main/kotlin/util/async/input.kt
index 9aab5cf..f22c595 100644
--- a/src/main/kotlin/util/async/input.kt
+++ b/src/main/kotlin/util/async/input.kt
@@ -24,7 +24,7 @@ private object InputHandler {
}
init {
- HandledScreenKeyPressedEvent.subscribe { event ->
+ HandledScreenKeyPressedEvent.subscribe("Input:resumeAfterInput") { event ->
synchronized(InputHandler) {
val toRemove = activeContinuations.filter {
event.matches(it.keybind)