.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "notcurses-input" "1" "v3.0.7" "" "" .hy .SH NAME .PP notcurses-input - Read and display input events .SH SYNOPSIS .PP \f[B]notcurses-input\f[R] [\f[B]-v\f[R]] [\f[B]-m\f[R]] .SH DESCRIPTION .PP \f[B]notcurses-input\f[R] reads from stdin and decodes the input to stdout, including synthesized events and mouse events. To exit, generate EOF (usually Ctrl+\[aq]d\[aq]). .PP Each event will be printed on a single line. Leading that line is a series of modifier indicators: .IP \[bu] 2 \[aq]A\[aq]/\[aq]a\[aq]: Alt was or was not pressed. .IP \[bu] 2 \[aq]C\[aq]/\[aq]c\[aq]: Ctrl was or was not pressed. .IP \[bu] 2 \[aq]S\[aq]/\[aq]s\[aq]: Shift was or was not pressed. .IP \[bu] 2 \[aq]U\[aq]/\[aq]u\[aq]: Super was or was not pressed .IP \[bu] 2 \[aq]M\[aq]/\[aq]m\[aq]: Meta was or was not pressed. .IP \[bu] 2 \[aq]H\[aq]/\[aq]h\[aq]: Hyper was or was not pressed. .IP \[bu] 2 \[aq]X\[aq]/\[aq]x\[aq]: CapsLock was or was not pressed. .IP \[bu] 2 \[aq]#\[aq]/\[aq].\[aq]: NumLock was or was not pressed. .IP \[bu] 2 \[aq]L\[aq]/\[aq]R\[aq]/\[aq]P\[aq]/\[aq]u\[aq]: Key was a release, repeat, press, or of unknown type. .PP By default, mice events are enabled. .SH OPTIONS .PP \f[B]-v\f[R]: Increase verbosity. \f[B]-m\f[R]: Inhibit mice events. .SH NOTES .PP Mouse events are only generated for button presses and releases, and for movement while a button is held down. .SH SEE ALSO .PP \f[B]tack(1)\f[R], \f[B]notcurses(3)\f[R], \f[B]notcurses_input(3)\f[R] .SH AUTHORS nick black .