Type Definition libnotcurses_sys::NcInput [−][src]
pub type NcInput = ncinput;
Expand description
Reads and decodes input events.
Reads from stdin and decodes the input to stdout, including synthesized
events and mouse events. Notcurses provides input from keyboards and mice.
Single Unicode codepoints are received from the keyboard, directly encoded
as u32
.
All events carry an NcInput
structure with them.
For mouse events, the x and y coordinates are reported within this struct. For all events, modifiers (e.g. “Alt”) are carried as bools in this struct.
Implementations
New NcInput
with shift
key.