termkey_canonicalise man page

termkey_canonicalise — canonicalise a key event

Synopsis

#include <termkey.h>

void termkey_canonicalise(TermKey *tk, TermKeyKey *key);

Link with -ltermkey.

Description

termkey_canonicalise(3) modifies the key event structure given by key according to the canonicalisation flags set on the given termkey instance. This operation is performed implicitly by termkey_getkey(3), termkey_waitkey(3) and termkey_strpkey(3), and is also provided explicitly by this function.

See termkey(7) for a list of canonicalisation flags.

Return Value

termkey_canonicalise() returns no value.

See Also

termkey_set_canonflags(3), termkey_waitkey(3), termkey_strpkey(3), termkey(7)

Referenced By

termkey(7), termkey_getkey(3), termkey_keycmp(3), termkey_set_canonflags(3), termkey_strpkey(3), termkey_waitkey(3).