Crate zng_wgt_ansi_text
source ·Expand description
Structs§
- Represents the ANSI style of a text run.
W
Render text styled using ANSI escape sequences.- Iterator that parses ANSI escape codes.
- Represents a segment of ANSI styled text that shares the same style.
- Arguments for a widget function for a text line.
- Arguments for a widget function for a stack of lines.
- Arguments for a widget function for a stack of pages.
- Arguments for a widget function for an ANSI styled text fragment.
Enums§
- Named ANSI color.
- Font weight defined by ANSI escape codes.
Statics§
- Duration the ANSI blink animation keeps the text visible for.
- Maximum number of lines per
PAGE_FN_VAR
. - Widget function for
LineFnArgs
. - Widget function for
PageFnArgs
. - Widget function for
PanelFnArgs
. - Widget function for
TextFnArgs
.
Functions§
- Implements the ANSI parsing and view generation, configured by contextual properties.
P
ANSI blink animation interval.- Default
LINE_FN_VAR
. - Default
PAGE_FN_VAR
. - Default
PANEL_FN_VAR
. - Default
TEXT_FN_VAR
. P
Widget function that convertsLineFnArgs
to widgets.P
Maximum number of lines per page view.P
Widget function that convertsPageFnArgs
to widgets.P
Widget function that convertsPanelFnArgs
to widgets.P
Widget function that convertsTextFnArgs
to widgets.