I’d like to handle arrow keys from the standard in...
# kotlin-native
s
I’d like to handle arrow keys from the standard input in my Kotlin Native console app (to handle history and current line editing). Is this possible? Maybe some libraries exist to support the use case?
d
I'm the author of https://github.com/varabyte/kotter, and v1.1.0 (currently in rc3) brings K/N support
If you look at the README and decide that you don't want to use the library, that's fine. Let me know and I can point you to how I handle arrow keys.
s
I’ll give it a try, thanks!
Ok, just tried and used in my hobby project - so happy with it! Excellent balance of power and simplicity, many thanks for creating Kotter!
d
Awesome, thanks for letting me know!