TERMKEY_CANONICALISE(3)
π TERMKEY_CANONICALISE β canonicalise a key event π
okay bestie, welcome to the manual page for termkey_canonicalise, which lives in the Library Functions Manual and is literally just here to make your key events β¨presentableβ¨. no cap.
πΈ SYNOPSIS πΈ
#include <termkey.h>
void termkey_canonicalise(TermKey *tk, TermKeyKey *key);
Link with -ltermkey.
π¦ DESCRIPTION π¦
so what does termkey_canonicalise(3) actually do? it takes the key event structure you hand it in key and canonicalises it β like, it modifies it according to the canonicalisation flags that are set on the given termkey instance tk. that's the whole vibe. π
and here's the thing, bestie: this operation is already happening implicitly inside termkey_getkey(3), termkey_waitkey(3) and termkey_strpkey(3). they do it for you automatically, no asking. but if you wanna run it yourself, by hand, on your own terms? this function is right there. iconic behaviour honestly. π«Ά
want the actual list of canonicalisation flags? go read termkey(7), it's all laid out there. i'm not gonna spoil it for you. π
β¨ RETURN VALUE β¨
termkey_canonicalise() returns no value.
that's it. that's the whole return value section. it gives you nothing back. void. empty. a beautiful little nothing. it just does the thing and dips. π
π SEE ALSO π
and that's the page, babe π this was TERMKEY_CANONICALISE(3) from the Library Functions Manual, dated whenever the fine folks who write manpages decided, and honestly? slay. go canonicalise something. you got this. ππβ
π¦ where this page comes from
- alpine 3.24: libtermkey-doc 0.22-r4 Β· MIT
- debian trixie: libtermkey-dev 0.22-2+b1 Β· MIT
- epel 10: libtermkey-devel 0.22-2.el10_0 Β· MIT
- epel 9: libtermkey-devel 0.22-2.el9 Β· MIT
- fedora 43: libtermkey-devel 0.22-11.fc43 Β· MIT
- fedora 43: libtermkey-devel 0.22-11.fc43 Β· MIT
- fedora 44: libtermkey-devel 0.22-12.fc44 Β· MIT
- fedora 44: libtermkey-devel 0.22-12.fc44 Β· MIT
- nixos 26.05: libtermkey 0.22
- nixpkgs unstable: libtermkey 0.22
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- ubuntu questing: libtermkey-dev 0.22-2
- ubuntu resolute: libtermkey-dev 0.22-2build1 Β· MIT
- ubuntu stonking: libtermkey-dev 0.22-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms