Expand description
The attach repaint: the visible screen as a VT stream a client can draw.
alacritty_terminal has no formatted dump, so forge writes one. A client
that attaches late, reconnects or falls behind is sent this instead of the
bytes it missed: the gridβs characters, their colours and attributes, and
the cursor, as the escape sequences xterm.js already parses.
The repaint is the screen, not the history. A reattaching client gets
what is visible; the scrollback is the serverβs, and terminal__read is
how an agent reads it.
Re-exportsΒ§
use alacritty_terminal::event::EventListener;πuse alacritty_terminal::grid::Dimensions;πuse alacritty_terminal::index::Column;πuse alacritty_terminal::index::Line;πuse alacritty_terminal::term::cell::Flags;πuse alacritty_terminal::term::Term;πuse alacritty_terminal::term::TermMode;πuse alacritty_terminal::vte::ansi::Color;πuse alacritty_terminal::vte::ansi::NamedColor;π
StructsΒ§
- Style π
- One cellβs drawing attributes, compared to decide when to emit an SGR.
FunctionsΒ§
- bg_sgr π
- fg_sgr π
- named_
index π - The 0..15 index of a named colour, folding the dim variants onto their base colour.
- repaint
- The visible screen as a VT stream, ending with the cursor where the program left it.
- toggle π
- One DEC private mode, set or reset.