Table of Contents

Method CreateInputProcessor

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

CreateInputProcessor(ConcurrentQueue<TInputRecord>, ITimeProvider?)

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 Mouse.

IInputProcessor CreateInputProcessor(ConcurrentQueue<TInputRecord> inputQueue, ITimeProvider? timeProvider = null)

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.

timeProvider ITimeProvider

Time provider for timestamps and timing control. If null, SystemTimeProvider is used.

Returns

IInputProcessor