2020-01-14 21:20:24 +00:00
|
|
|
% notcurses-input(1)
|
|
|
|
% nick black <nickblack@linux.com>
|
2021-09-13 02:14:19 +00:00
|
|
|
% v2.4.1
|
2020-01-14 21:20:24 +00:00
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
notcurses-input - Read and display input events
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2021-08-31 19:47:21 +00:00
|
|
|
**notcurses-input** [**-v**]
|
2020-01-14 21:20:24 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
**notcurses-input** reads from stdin and decodes the input to stdout, including
|
|
|
|
synthesized events and mouse events. To exit, generate EOF (usually Ctrl+'d').
|
|
|
|
|
2021-09-20 01:01:40 +00:00
|
|
|
Each event will be printed on a single line. Leading that line is a series
|
|
|
|
of modifier indicators:
|
|
|
|
|
|
|
|
* 'A'/'a': Alt was or was not pressed.
|
|
|
|
* 'C'/'c': Ctrl was or was not pressed.
|
|
|
|
* 'S'/'s': Shift was or was not pressed.
|
|
|
|
* 'L'/'R'/'P'/'u': Key was a release, repeat, press, or of unknown type.
|
|
|
|
|
2020-01-14 21:20:24 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
2021-08-31 19:47:21 +00:00
|
|
|
**-v**: Increase verbosity.
|
|
|
|
|
2020-01-14 21:20:24 +00:00
|
|
|
# NOTES
|
|
|
|
|
2021-09-20 01:01:40 +00:00
|
|
|
Mouse events are only generated for button presses and releases, and for
|
|
|
|
movement while a button is held down.
|
2020-02-12 03:44:45 +00:00
|
|
|
|
2020-01-14 21:20:24 +00:00
|
|
|
# SEE ALSO
|
2020-02-12 01:46:39 +00:00
|
|
|
|
2021-06-13 23:46:40 +00:00
|
|
|
**tack(1)**,
|
2020-02-12 01:46:39 +00:00
|
|
|
**notcurses(3)**,
|
|
|
|
**notcurses_input(3)**
|