Table of Contents

Interface IComponentFactory<TInputRecord>

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

Creates driver specific subcomponent classes (IInput<TInputRecord>, IInputProcessor etc) for a IMainLoopCoordinator.

public interface IComponentFactory<TInputRecord> : IComponentFactory where TInputRecord : struct

Type Parameters

TInputRecord

The platform specific console input type. Must be a value type (struct). Valid types are ConsoleKeyInfo, WindowsConsole.InputRecord, and char.

Inherited Members

Methods

CreateInput()

Create IInput<TInputRecord> class for the current driver implementation i.e. the class responsible for reading user input from the console.

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.

CreateSizeMonitor(IOutput, IOutputBuffer)

Creates ISizeMonitor class for the current driver implementation i.e. the class responsible for reporting the current size of the terminal.