Table of Contents

Method CreateInputProcessor

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

CreateInputProcessor(ConcurrentQueue<TInputRecord>)

Creates the InputProcessorImpl<TInputRecord> class for the current driver implementation i.e. the class responsible for translating raw console input into Terminal.Gui common event Key and MouseEventArgs.

IInputProcessor CreateInputProcessor(ConcurrentQueue<TInputRecord> inputQueue)

Parameters

inputQueue ConcurrentQueue<TInputRecord>

The input queue containing raw console input events, populated by IInput<TInputRecord> implementations on the input thread and read by IInputProcessor on the main loop thread.

Returns

IInputProcessor