OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-16

libtermkey-0.22

library for processing of keyboard entry from a terminal

Project homepage: http://www.leonerd.org.uk/code/libtermkey/

Description

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.

Package information

Ports path
devel/libtermkey
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

OpenBSD README
+-------------------------------------------------------------------------------
| Running libtermkey 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
Used by (1 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Package guides

Package details as JSON