Terminal Input Escape Decoder. This library has the simple purpose of obtaining keypress (keysym + modmask) events by decoding *keyboard* input sent to a terminal.
- C 95.4%
- Meson 4.4%
- Shell 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| include | ||
| src | ||
| subprojects | ||
| test | ||
| .gitignore | ||
| LICENSE | ||
| meson.build | ||
| README.md | ||
| run-clang-tidy.sh | ||
TIED
Terminal Input Escape Decoder. This library has the simple purpose of obtaining keypress (keysym + modmask) events by decoding keyboard input sent to a terminal.
TODO
- DRY + generally improve test code. A lot of it is templatic.
- Properly handle debouncing timeout
- Store getc_fn in Decoder to simplify signatures for private (static) Decoder methods
- Choose good, consistent names for everything public (and ideally for everything period)
- Normalize Ctrl-key combos (handle C0 range)
- Test everything on Windows 10
Once these are all taken care of, I'll call the API stable and mark it v1.0.0