notcurses-input(1)
π notcurses-input β bestie's guide to reading and displaying input events π
okay so this is the notcurses-input(1) manual page, freshly translated into group-chat, no cap.
β¨ NAME β¨
notcurses-input β read and display input events π
πΈ SYNOPSIS πΈ
notcurses-input [-v] [-m]
literally that's it, two flags, we move.
π¦ DESCRIPTION π¦
so notcurses-input reads from stdin and decodes the input to stdout, and it shows you synthesized events and mouse events too π
. when you're done, you generate EOF to exit β usually that's Ctrl+d, bestie, that's the escape hatch.
every single event gets printed on one line. and leading that line is a little stack of modifier indicators, like a vibe check for your keypress π:
- 'A'/'a' β Alt was, or was not, pressed.
- 'C'/'c' β Ctrl was, or was not, pressed.
- 'S'/'s' β Shift was, or was not, pressed.
- 'U'/'u' β Super was, or was not, pressed.
- 'M'/'m' β Meta was, or was not, pressed.
- 'H'/'h' β Hyper was, or was not, pressed.
- 'X'/'x' β CapsLock was, or was not, pressed.
- '#'/'.' β NumLock was, or was not, pressed.
- 'L'/'R'/'P'/'u' β the key was a release, repeat, press, or of unknown type. it's giving β¨full lifecycleβ¨.
by default, mice events are enabled ππ«Ά.
π OPTIONS π
-vβ increase verbosity. give me MORE, I want the tea β-mβ inhibit mice events. no mice, no squeaks π
π NOTES π
mouse events are only generated for button presses and releases, and for movement while a button is held down. that's it, that's the whole list β no free-floating cursor gossip, iykyk. π
π₯ SEE ALSO π₯
tack(1), notcurses(3), notcurses_input(3)
π AUTHORS π
nick black nickblack@linux.com π icon behavior, honestly.
and that's the whole page bestie, v3.0.17 era, notcurses-input(1), periodt ππβ¨
π¦ where this page comes from
- alpine 3.24: notcurses-doc 3.0.17-r0 Β· Apache-2.0
- ubuntu resolute: notcurses-bin 3.0.17+dfsg-3 Β· Apache-2.0
- ubuntu stonking: notcurses-bin 3.0.17+dfsg-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms