termkey_set_flags(3)

termkey_set_flags3

Control the operational flags

Usage

#include <termkey.h>

void termkey_set_flags(TermKey *tk, int newflags);
int termkey_get_flags(TermKey *tk);

Link with -ltermkey.

Overview

termkey_set_flags() changes the set of operation flags in the termkey(7) instance to those given by newflags.

termkey_get_flags() returns the value set by the last call to termkey_set_flags(), or the value given to the constructor.

Return value

termkey_set_flags() returns no value. termkey_get_flags() returns the current operational flags.

From libtermkey-dev 0.22-2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.