Layout
Term.layout.PaddingTerm.layout.SpacerTerm.layout.hLineTerm.layout.hLineTerm.layout.hLineTerm.layout.hLineTerm.layout.hLineTerm.layout.vLineTerm.layout.vLineTerm.layout.vLineTerm.layout.hstackTerm.layout.hstackTerm.layout.padTerm.layout.padTerm.layout.vstackTerm.layout.vstack
Term.layout.Padding — TypePaddingStores information about ammount of padding.
Term.layout.Spacer — Type SpacerA box of empty text with given width and height.
Term.layout.hLine — TypehLineA 1-line renderable made of repeated character from a Box.
Term.layout.hLine — MethodhLine(text::AbstractString; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)Construct an hLine as wide as the stdout with centered text.
Term.layout.hLine — MethodhLine(width::Number, text::String; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)Creates an hLine object with texte centered horizontally.
Term.layout.hLine — MethodhLine(width::Number, style::Union{String, Nothing}; box::Symbol=:ROUNDED)Create a styled hLine of given width.
Term.layout.hLine — MethodhLine(; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)Construct an hLine as wide as the stdout
Term.layout.vLine — TypevLineA multi-line renderable with each line made of a | to create a vertical line
Term.layout.vLine — MethodvLine(height::Number, style::Union{String, Nothing}; box::Symbol=:ROUNDED)Create a vLine given a height and, optionally, style information.
Term.layout.vLine — MethodvLine(; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)Create a vLine as tall as the stdout console
Term.layout.hstack — Methodhstack(renderables...)Horizonatlly stack a variable number of renderables
Term.layout.hstack — Methodhstack(r1::RenderablesUnion, r2::RenderablesUnion)Horizontally stack two renderables to give a new renderable.
Term.layout.pad — Functionpad(text::AbstractString, left::Int=0, right::Int=0)::StringPad a string by a fixed ammount.
Term.layout.pad — Methodpad(text::AbstractString, target_width::Int, method::Symbol)::StringPad a string to width: target_width by adding empty spaces strings " ". Where the spaces are added depends on the justification method ∈ (:left, :center, :right).
Term.layout.vstack — Methodvstack(renderables...)Vertically stack a variable number of renderables
Term.layout.vstack — Methodvstack(r1::RenderablesUnion, r2::RenderablesUnion)Vertically stack two renderables to give a new renderable.