libtermkey
library for processing of keyboard entry from a terminal
WWW CVSWeb GITHub-
Package versionlibtermkey-0.22
-
MaintainerThe OpenBSD ports mailing-list
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.
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
libtermkey and tmux
===================
Both tmux and libtermkey wait after an escape is input to determine if it is
part of a function or meta key sequences. This leads to false positives in
meta key sequence detection in programs that use libtermkey. To work around
this bug one may reduce such delay in tmux to a value below the default 50 ms
value in libtermkey by setting "escape-time" setting in tmux configuration:
set-option escape-time 40
- devel/gmake