.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "notcurses-input" "1" "v3.0.0" "" "" .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]] .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]L\[aq]/\[aq]R\[aq]/\[aq]P\[aq]/\[aq]u\[aq]: Key was a release, repeat, press, or of unknown type. .SH OPTIONS .PP \f[B]-v\f[R]: Increase verbosity. .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 .