Display

terminus.effect.Display
trait Display[+F <: Writer] extends WithStack[F], WithToggle[F]

Terminal effects that can change display properties.

Attributes

Source
Display.scala
Graph
Supertypes
trait WithToggle[F]
trait WithStack[F]
class Object
trait Matchable
class Any
Known subtypes
Self type
F

Members list

Type members

Classlikes

object display

Attributes

Source
Display.scala
Supertypes
class Object
trait Matchable
class Any
Self type
display.type

Value members

Inherited methods

protected def withStack[A](stack: Stack, code: String)(f: F ?=> A): A

Use withStack to ensure a stack is pushed on before f is evaluated, and popped when f finishes.

Use withStack to ensure a stack is pushed on before f is evaluated, and popped when f finishes.

Attributes

Inherited from:
WithStack
Source
WithStack.scala
protected def withToggle[A](toggle: Toggle)(f: F ?=> A): A

Use withToggle to ensure a toggle is turned on before f is evaluated, and turned off when f finishes.

Use withToggle to ensure a toggle is turned on before f is evaluated, and turned off when f finishes.

Attributes

Inherited from:
WithToggle
Source
WithToggle.scala