Import std.term.widgets
Box
class
Public Class Box
Text in a box, with a Title in its top line or not, which Render draws with a BorderStyle's lines. It's as wide as its widest line, or Width wide inside its lines, where the lines wider than that wrap.
-
Its text.
-
What's in its top line, or "" for nothing.
-
The lines it's drawn with.
-
How the lines look.
-
How the title looks.
-
Where the content's lines go inside it.
-
The spaces on each side of the content.
-
The columns inside its lines, padding and all, or 0 for as many as the content needs.
-
A Box of
content, withtitlein its top line. -
Its lines, with a line break between each two, styled as
colorsshows them, or plain for NONE. -
Writes it to stdout, with a line break after, as stdout shows colors.
-
Writes it to
terminal, with a line break after, as it shows colors.
Report an issue with this page or with FutureBlitz on GitHub.