Table of Contents

Interface IInputSource

Namespace
MiniTui
Assembly
MiniTui.dll

A source of key presses.

public interface IInputSource : IDisposable
Inherited Members

Methods

TryRead(out ConsoleKeyInfo)

Read a key if one is available. Never blocks.

bool TryRead(out ConsoleKeyInfo key)

Parameters

key ConsoleKeyInfo

Returns

bool