TerminalKeyReader

terminus.effect.TerminalKeyReader

An implementation of KeyReader that interprets the standard terminal escape codes for key presses. The timeout is how long we wait between an escape being pressed and another key before we decide they are separate key presses.

Attributes

Source
TerminalKeyReader.scala
Graph
Supertypes
trait KeyReader
trait Effect
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Concrete methods

def readKey(): Eof | Key

Attributes

Source
TerminalKeyReader.scala