Layout
Term.layout.PaddingTerm.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.vstackTerm.layout.vstack
Term.layout.Padding — TypePaddingStores empty string to pad a string to the desired with.
Term.layout.Padding — MethodPadding(text::AbstractString, target_width::Int, method::Symbol)::PaddingCreate Padding for a string given a justification method ∈ (:left, :center, :right).
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.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.