The libt3key library provides functions for retrieving the character sequences used by terminals to represent keys pressed by the user.
The libt3key library provides functions for retrieving the character sequences used by terminals to represent keys pressed by the user. Although the terminfo database provides part of this information, it lacks information for the sequences returned by modern terminals/terminal emulators for many combinations of modifiers with other keys. For example, many terminal emulators provide separate character sequences for Control combined with the cursor keys, which is not stored in the terminfo database. Many programs contain their own databases with this information. This library tries to be a database usable by many programs, such that all programs can benefit from the information collected.
The libt3key library provides functions for retrieving the character sequences used by terminals to represent keys pressed by the user. Although the terminfo database provides part of this information, it lacks information for the sequences returned by modern terminals/terminal emulators for many combinations of modifiers with other keys. For example, many terminal emulators provide separate character sequences for Control combined with the cursor keys, which is not stored in the terminfo database. Many programs contain their own databases with this information. This library tries to be a database usable by many programs, such that all programs can benefit from the information collected.
To install libt3key, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install libt3key
To see what files were installed by libt3key, run:
port contents libt3key
To later upgrade libt3key, run:
sudo port selfupdate && sudo port upgrade libt3key
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.