Module terminal

Available on crate feature dep_fltk only.
Expand description

Terminal widget

Structs§

Attrib
Bits for the per-character attributes, which control text features such as italic, bold, underlined text, etc. Can be combined with | operator
BuffRow
Class to read characters from the terminal’s buffer rows. Includes indexing access and iterators This is a low-level “protected” class
BuffRowIter
Iterator object to step through a sequence of Utf8Char in a BuffRow
CharFlags
Per-character 8 bit flags (u8) used to manage special states for characters.
OutFlags
Output translation flags for special control character translations.
RedrawStyle
Determines when Fl_Terminal calls redraw() if new text is added. RATE_LIMITED is the recommended setting, using redraw_rate(float) to determine the maximum rate of redraws. see redraw_style(), redraw_rate()
ScrollbarStyle
Controls behavior of scrollbar
Terminal
Creates a scrollable display widget to handle terminal-like behavior, such as logging events or debug information. Replaces SimpleTerminal widget
Utf8Char
Class to manage the terminal’s individual UTF-8 characters. Includes fg/bg color, attributes (BOLD, UNDERLINE..) This is a low-level “protected” class in the fltk library

Enums§

XtermColor
‘xterm color’ values, used in set_text_fg_color_xterm and set_text_bg_color_xterm