Used to compare a list of character if they match a particular pattern, and in that case, return the kind of keystroke this pattern represents
Objects implementing this interface can read character streams and transform them into
In order to convert a stream of characters into objects representing keystrokes, we need to apply logic on this stream to detect special characters.
Character pattern that matches characters pressed while ALT key is held down
Very simple pattern that matches the input stream against a pre-defined list of characters.
This immutable class describes a matching result.
Character pattern that matches characters pressed while ALT and CTRL keys are held down
Character pattern that matches characters pressed while CTRL key is held down
This profile attempts to collect as many code combinations as possible without causing any collisions between patterns.
This implementation of CharacterPattern matches two similar patterns of Escape sequences, that many terminals produce for special keys.
Used to read the input stream character by character and generate
Represents the user pressing a key on the keyboard.
an F3-KeyStroke that is distinguishable from a CursorLocation report.
MouseAction, a KeyStroke in disguise, this class contains the information of a single mouse action event.
Pattern used to detect Xterm-protocol mouse events coming in on the standard input channel Created by martin on 19/07/15.
Character pattern that matches one character as one KeyStroke with the character that was read
ScreenInfoAction, a KeyStroke in disguise, this class contains the reported position of the screen cursor.
This class recognizes character combinations which are actually a cursor position report.
This enum is a categorization of the various keys available on a normal computer keyboard that are usable (detectable) by a terminal environment.
Enum type for the different kinds of mouse actions supported
Copyright © 2020. All rights reserved.