Table of Contents

Interface IInputProcessor

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

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.

KeyDown

Event fired when a key is pressed down. This is a precursor to KeyUp.

KeyUp

Event fired when a key is released.

MouseEvent

Event fired when a mouse event occurs.