Renderables
Term.Renderables.AbstractRenderableTerm.Renderables.RenderableTerm.Renderables.RenderableTextTerm.Renderables.RenderableTextBase.printBase.showBase.showBase.stringTerm.Renderables.trim_renderable
Term.Renderables.AbstractRenderable — TypeAbstractRenderableTerm.Renderables.Renderable — MethodRenderable(
str::String; width::Union{Nothing,Int} = nothing
)Convenience method to construct a RenderableText
Term.Renderables.RenderableText — MethodRenderableText(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).
Term.Renderables.RenderableText — MethodRenderableText(rt::RenderableText; width::Union{Nothing,Int} = nothing)Construct a RenderableText by possibly re-shaping a RenderableText
Base.print — Methodprint(io::IO, renderable::AbstractRenderable)Print a renderable to an IO
Base.show — Methodshow(io::IO, mime::MIME"text/plain", renderable::AbstractRenderable)Show a renderable and some information about its shape.
Base.show — Methodshow(io::IO, renderable::AbstractRenderable)Show a renderable.
Base.string — MethodBase.string(r::AbstractRenderable)::StringCreates a string representation of a renderable
Term.Renderables.trim_renderable — Methodtrim_renderable(ren::Union{String, AbstractRenderable}, width::Int)Trim a string or renderable to a max width.