ReadKey()

Method

Namespace: ANSITerm

Declared in: ANSITerm.IConsoleBackend


Reads the next character or function key pressed by user. The pressed key is displayed. Equivalent to ReadKey(bool) with intercept = true

Syntax

public ConsoleKeyInfo ReadKey()

See also

  • Peek()
  • Read()

  • Back to index