Expand description
Structs§
- Ansi
Style - Represents the ANSI style of a text run.
- Ansi
Text W
Render text styled using ANSI escape sequences.- Ansi
Text Parser - Iterator that parses ANSI escape codes.
- AnsiTxt
- Represents a segment of ANSI styled text that shares the same style.
- Line
FnArgs - Arguments for a widget function for a text line.
- Page
FnArgs - Arguments for a widget function for a stack of lines.
- Panel
FnArgs - Arguments for a widget function for a stack of pages.
- Text
FnArgs - Arguments for a widget function for an ANSI styled text fragment.
Enums§
- Ansi
Color - Named ANSI color.
- Ansi
Weight - Font weight defined by ANSI escape codes.
Statics§
- BLINK_
INTERVAL_ VAR - Duration the ANSI blink animation keeps the text visible for.
- LINES_
PER_ PAGE_ VAR - Maximum number of lines per
PAGE_FN_VAR
. - LINE_
FN_ VAR - Widget function for
LineFnArgs
. - PAGE_
FN_ VAR - Widget function for
PageFnArgs
. - PANEL_
FN_ VAR - Widget function for
PanelFnArgs
. - TEXT_
FN_ VAR - Widget function for
TextFnArgs
.
Functions§
- ansi_
node - Implements the ANSI parsing and view generation, configured by contextual properties.
- blink_
interval P
ANSI blink animation interval.- default_
line_ fn - Default
LINE_FN_VAR
. - default_
page_ fn - Default
PAGE_FN_VAR
. - default_
panel_ fn - Default
PANEL_FN_VAR
. - default_
text_ fn - Default
TEXT_FN_VAR
. - line_fn
P
Widget function that convertsLineFnArgs
to widgets.- lines_
per_ page P
Maximum number of lines per page view.- page_fn
P
Widget function that convertsPageFnArgs
to widgets.- panel_
fn P
Widget function that convertsPanelFnArgs
to widgets.- text_fn
P
Widget function that convertsTextFnArgs
to widgets.