LeoNerd.org.uk

TERMKEY_CANONICALISE (3)

NAME

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)