-
libtcod
A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you decide to go for X11, my 6502 emulator in C might provide some reference material. Look into linux.c. I used XCB + XKBCommon <- another library you might want to look up. You can try XLib as well, which provides keyboard input.
I have no experience with it myself, but the folks over at r/roguelikedev use libtcod for their terminal stuff. It should offer options to handle input as well, and you could check its source.
I think XKBCommon supports Wayland (it even supports evdev I think). It’s on the website: https://xkbcommon.org
I am using notcurses basically a newer ncurses, but from what I have seen both take input from the terminal. Tested using delay and it doesn't feel right (the delay is quite noticeable), will try xkbcommon