Tabby is a Keyboard Event handling library, primarily for use in terminal user interfaces (TUI’s). Currently only Linux is supported. Tabby supports the Kitty Keybaord Protocol.
In what sense is only Linux supported? Do you mean that only Kitty is supported? It’s available for other Unix platforms, at least macOS and some of the BSDs.
Does it use non-POSIX syscalls or something like that?
Yes that would be clearer. I forgot to update it. I Think i had run into some strange typing/programming error that caused me to go to use 113 directly, but i should change it back.
In what sense is only Linux supported? Do you mean that only Kitty is supported? > It’s available for other Unix platforms, at least macOS and some of the BSDs.
Does it use non-POSIX syscalls or something like that?
That is a good point. I’ve only tested it on LInux, but I imagine it would work on most unix flavors. The big problem right now is that I have reading /dev/tty hardcoded in a few spots so Windows is right out. As for Sys-calls, it does make use of poll, but using the std posix layer.
Also note that you can’t poll /dev/tty on macos. You have to use a regular blocking read. I found this out the hard way the other day trying to get libvaxis working on macos in a non-blocking application (flow).