libtermkey
« Back to VersTracker
Description:
Library for processing keyboard entry from the terminal
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: terminal tui library input ansi
Install: brew install libtermkey
About:
Libtermkey is a library that abstracts away the complexities of terminal keyboard entry, providing an easy way to parse and retrieve key events. It supports various terminal capabilities, including special keys, 256-color mode, and Unicode input. This allows developers to build robust terminal user interfaces without dealing with raw escape sequences.
Key Features:
  • Unified API for processing keyboard events
  • Support for special keys, mouse events, and 256 colors
  • Event-driven and poll-based input handling
  • UTF-8 aware input processing
Use Cases:
  • Building interactive command-line tools
  • Developing full-screen terminal applications (TUIs)
  • Handling complex user input in scripts
Alternatives:
  • GNU Readline – Readline focuses on line editing and history, whereas Libtermkey focuses on granular key event parsing.
  • ncurses – ncurses handles screen drawing and basic input, while Libtermkey specializes in advanced input decoding.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 5:07am 0 VERSION_BUMP 7dc80fac
Oct 27, 2024 12:49pm 0 VERSION_BUMP 0b37b3ab