View Source Clik.Output.Text (Clik v0.2.1)

Formatted block of text.

Represents either a partial or full line of text. Lines are terminated with the correct terminator based on platform.

Link to this section Summary

Link to this section Types

@type t() :: %Clik.Output.Text{code: atom(), eol?: boolean(), text: String.t()}

Link to this section Functions

@spec append(t(), bitstring()) :: t()
@spec format(t()) :: String.t()
Link to this function

new(code \\ nil, text, include_eol)

View Source
@spec new(atom(), bitstring(), boolean()) :: t()