notcurses/doc/man/man1/notcurses-input.1.md

40 lines
861 B
Markdown
Raw Normal View History

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
**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').
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
**-v**: Increase verbosity.
2020-01-14 21:20:24 +00:00
# NOTES
Mouse events are only generated for button presses and releases, and for
movement while a button is held down.
2020-01-14 21:20:24 +00:00
# SEE ALSO
2020-02-12 01:46:39 +00:00
**tack(1)**,
2020-02-12 01:46:39 +00:00
**notcurses(3)**,
**notcurses_input(3)**