Table of Contents

Constructor InputProcessorImpl

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

InputProcessorImpl(ConcurrentQueue<TInputRecord>, IKeyConverter<TInputRecord>, ITimeProvider?)

Initializes a new instance, wiring parser events and configuring the input queue.

protected InputProcessorImpl(ConcurrentQueue<TInputRecord> inputBuffer, IKeyConverter<TInputRecord> keyConverter, ITimeProvider? timeProvider = null)

Parameters

inputBuffer ConcurrentQueue<TInputRecord>

Thread-safe queue to be populated with input by IInput<TInputRecord>.

keyConverter IKeyConverter<TInputRecord>

Converter for translating TInputRecord to Key.

timeProvider ITimeProvider

Time provider for timestamps and timing control. Defaults to SystemTimeProvider if null.