Join Slack
Powered by
I’d like to handle arrow keys from the standard in...
# kotlin-native
s
Sergey Aldoukhov
03/20/2023, 2:51 AM
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
David Herman
03/20/2023, 5:45 AM
I'm the author of
https://github.com/varabyte/kotter
, and v1.1.0 (currently in rc3) brings K/N support
David Herman
03/20/2023, 5:47 AM
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
Sergey Aldoukhov
03/20/2023, 5:14 PM
I’ll give it a try, thanks!
Sergey Aldoukhov
03/27/2023, 2:33 AM
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
David Herman
03/27/2023, 2:33 AM
Awesome, thanks for letting me know!
12
Views
Open in Slack
Previous
Next