Expand description
Figures drawn as images inside the full-screen views, in terminals that
speak an image protocol (kitty, iTerm2, WezTerm, Ghostty, sixel). The
image is the same SVG a save writes, rasterised to the area’s pixel
size; elsewhere the views keep their text plots, which beat half-block
images. From faba’s src/figure/term.rs.
Structs§
- Plot
Image - One plot area drawn as an image: rebuilt only when marked stale, when the area changes size, or after a terminal attached (its picker may be another, and kitty’s images were deleted by the attach).
Functions§
- picker
- The image support of the terminal
sessionis attached to now, asked of it (legume_tui::graphics, with a timeout).Nonewithout an image protocol, in a terminal not known to have one (DATA_BEANS_TUI_IMAGES=1asks anyway), or withDATA_BEANS_TUI_IMAGES=0. Call it with the screen up, and again after every attach.