Table of Contents

Class NetInput

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Console input implementation that uses native dotnet methods e.g. Console.

public class NetInput : ConsoleInput<ConsoleKeyInfo>, IConsoleInput<ConsoleKeyInfo>, IDisposable
Inheritance
NetInput
Implements
Inherited Members

Constructors

NetInput()

Creates a new instance of the class. Implicitly sends console mode settings that enable virtual input (mouse reporting etc).

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Peek()

When implemented in a derived class, returns true if there is data available to read from console.

Read()

Returns the available data without blocking, called when Peek() returns true.