AlternateScreenMode

terminus.AlternateScreenMode

Attributes

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

Members list

Value members

Concrete methods

def alternateScreen[F <: Effect, A](f: F ?=> A): (F & AlternateScreenMode[F]) ?=> A

Run the given terminal program f in alternate screen mode, which means that whatever is displayed by f will not been shown when the program exits, and similarly key presses will not be saved in the history buffer.

Run the given terminal program f in alternate screen mode, which means that whatever is displayed by f will not been shown when the program exits, and similarly key presses will not be saved in the history buffer.

Attributes

Source
AlternateScreenMode.scala