Renderables

Term.Renderables.RenderableTextMethod
RenderableText(text::String; width::Union{Nothing, Int, Symbol}=nothing)

Construct a RenderableText out of a string.

The text is resized to fit the given width. Optionally justify can be used to set the text justification style ∈ (:left, :center, :right, :justify).

source
Term.Renderables.RenderableTextMethod
RenderableText(rt::RenderableText; width::Union{Nothing,Int} = nothing)

Construct a RenderableText by possibly re-shaping a RenderableText

source
Base.printMethod
print(io::IO, renderable::AbstractRenderable)

Print a renderable to an IO

source
Base.showMethod
show(io::IO, mime::MIME"text/plain", renderable::AbstractRenderable)

Show a renderable and some information about its shape.

source
Base.showMethod
show(io::IO, renderable::AbstractRenderable)

Show a renderable.

source
Base.stringMethod
Base.string(r::AbstractRenderable)::String

Creates a string representation of a renderable

source