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.

public abstract IInputProcessor CreateInputProcessor(ConcurrentQueue<TInputRecord> inputBuffer, ITimeProvider? timeProvider = null)

Parameters

inputBuffer ConcurrentQueue<TInputRecord>
timeProvider ITimeProvider

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

Returns

IInputProcessor