class

Egui::Terminal::TermView

Inherits Egui::Widget < Reference < Object

Constants

BAR_W = 10.0

Scrollbar: track strip width and the smallest thumb (draggable) height. The bar lives on the terminal's right edge and shows whenever the primary grid has scrollback.

COLOR_KEYS = {"background", "text_color", "cursor_color", "selection_overlay", "scrollbar_color", "scrollbar_active_color"}

The terminal class keys that map onto the Theme twin (see #ui) — anything else in the bag (fonts) never clones the theme.

PAD = 4.0
THUMB_MIN_H = 18.0

Constructors

Instance methods

style_class

Styled through the terminal class: font_family swaps the grid's font (register the face first — Sokol.register_font("term", fonts) or ctx.register_font_family). The default stays the monospace stack: the 'M'-advance cell math only holds on a mono face.

Source
style_properties

The stylable properties of THIS widget kind: the StyleVars keys its #ui actually reads, declared here — not hardcoded in the inspector. StyleProps.textlike / .buttonlike provide the common sets. An empty list (the default) means the widget reads no style keys and the inspector shows it as non-stylable.

Source
ui(ui : Ui) : Response
Source