(no title)
rockorager | 1 year ago
All of that said, I am a huge proponent of the kitty keyboard protocol. I would love to live in a world where the "default" encoding of keys is done with the that protocol (with the disambiguate flag on)
rockorager | 1 year ago
All of that said, I am a huge proponent of the kitty keyboard protocol. I would love to live in a world where the "default" encoding of keys is done with the that protocol (with the disambiguate flag on)
arp242|1 year ago
Right, I read that the other way round ("no, you do need terminfo for key input")!
For basic input it's fairly straight-forward, and even for various "special" keys like arrows and function keys it's not too bad: just check from a list.
But with modifier keys it gets more tricky; lots of that isn't even in terminfo and requires "special" handling.
If you know how this works and you know what you're doing it can be fine, but for most people it's far easier to just use a terminfo library that does this for you.
And yeah, Kitty keyboard protocol being the default would be brilliant. Right now support is (far) too flaky though, so maybe in 5 to 10 years.