KeyReader

terminus.KeyReader
trait KeyReader

Attributes

Source
KeyReader.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Terminal

Members list

Value members

Concrete methods

def readKey(): KeyReader ?=> Eof | Key

Read a Key from the terminal.

Read a Key from the terminal.

This method converts the most common escape code sent by the terminal into the more useful representation defined in Key. It is a blocking operation, and will not return until a key has been read or end-of-file (EOF) is received.

Attributes

Source
KeyReader.scala