StringBuilderTerminal

terminus.StringBuilderTerminal
See theStringBuilderTerminal companion object

Attributes

Companion
object
Source
StringBuilderTerminal.scala
Graph
Supertypes
trait Erase
trait Cursor
trait Writer
trait Effect
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

object background

Attributes

Inherited from:
Color
Source
Color.scala
Supertypes
class Object
trait Matchable
class Any
object cursor

Attributes

Inherited from:
Cursor
Source
Cursor.scala
Supertypes
class Object
trait Matchable
class Any
object erase

Attributes

Inherited from:
Erase
Source
Erase.scala
Supertypes
class Object
trait Matchable
class Any
object foreground

Attributes

Inherited from:
Color
Source
Color.scala
Supertypes
class Object
trait Matchable
class Any
object format

Attributes

Inherited from:
Format
Source
Format.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def flush(): Unit

Flush is a no-op

Flush is a no-op

Attributes

Source
StringBuilderTerminal.scala
def result(): String

Get the value accumulated in the internal string builder, clearing the buffer in the process.

Get the value accumulated in the internal string builder, clearing the buffer in the process.

Attributes

Source
StringBuilderTerminal.scala
def write(char: Char): Unit

Write a character to the console.

Write a character to the console.

Attributes

Source
StringBuilderTerminal.scala

Write a string to the console.

Write a string to the console.

Attributes

Source
StringBuilderTerminal.scala

Inherited methods

protected def withStack[A](stack: Stack, code: String)(f: StringBuilderTerminal ?=> 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: StringBuilderTerminal ?=> 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