Peek()

Method

Namespace: ANSITerm

Declared in: ANSITerm.IConsoleBackend


Peeks next character from the input stream.

Syntax

public int Peek()

Returns

Character value if it exists, -1 otherwise

See also

  • Read()
  • ReadKey()

  • Back to index