Interface IInputProcessor
Interface for main loop class that will process the queued input buffer contents. Is responsible for ProcessQueue() and translating into common Terminal.Gui events and data models.
public interface IInputProcessor
Methods
- GetParser()
Gets the response parser currently configured on this input processor.
- OnKeyDown(Key)
Called when a key is pressed down. Fires the KeyDown event. This is a precursor to OnKeyUp(Key).
- OnKeyUp(Key)
Called when a key is released. Fires the KeyUp event.
- OnMouseEvent(MouseEventArgs)
Called when a mouse event occurs. Fires the MouseEvent event.
- ProcessQueue()
Drains the input buffer, processing all available keystrokes
Events
- AnsiSequenceSwallowed
Event fired when a terminal sequence read from input is not recognized and therefore ignored.
- KeyUp
Event fired when a key is released.
- MouseEvent
Event fired when a mouse event occurs.