Bug#783156: ITP: libtermkey -- library for processing keyboard input from terminal-based programs
Package: wnpp
Severity: wishlist
Owner: James McCoy <jamessan@debian.org>
* Package name : libtermkey
Version : 0.17
Upstream Author : Paul Evans <leonerd@leonerd.org.uk>
* URL : http://www.leonerd.org.uk/code/libtermkey/
* License : MIT
Programming Lang: C
Description : library for processing keyboard input from terminal-based programs
This library allows easy processing of keyboard entry from
terminal-based programs. It handles all the necessary logic to recognise
special keys, UTF-8 combining, and so on, with a simple interface.
why is this package useful/relevant? is it a dependency for another
package?
- Dependency for Neovim
if there are other packages providing similar functionality, how does it
compare?
- Quoting from upstream in regard to a comparison with terminfo
This library uses the terminfo database for the terminal type given by
$TERM as a first attempt to convert raw incoming bytes into symbolic
keypress events. If this translation fails, and the terminal type is
known to be one that uses xterm's generic CSI scheme for representing
modified keypresses (e.g. xterm), then the sequence is interpreted
according to xterm's rules. Finally, if all of these fail, the raw
bytes will be presented as they are.
how do you plan to maintain it?
- collab-maint git, co-maintainers welcome
Reply to: