Interface IConsoleInput | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Interface for reading console input indefinitely - i.e. in an infinite loop. The class is responsible only for reading and storing the input in a thread safe input buffer which is then processed downstream e.g. on main UI thread.

public interface IConsoleInput<T> : IDisposable

Type Parameters

T

Inherited Members

Methods

Initialize(ConcurrentQueue)

Initializes the input with a buffer into which to put data read

Run(CancellationToken)

Runs in an infinite input loop.