Expand description
The parserβs view of the screen, with the one count the grid cannot give.
Term keeps only the lines the scrollback still holds. Its line count
stops at the cap, so a read cursor measured in buffer positions stops
advancing once the buffer fills. This wrapper forwards every handler to the
term and counts the linefeeds that scroll a full screen, which are exactly
the lines the buffer drops.
Re-exportsΒ§
use alacritty_terminal::event::EventListener;πuse alacritty_terminal::grid::Dimensions;πuse alacritty_terminal::index::Line;πuse alacritty_terminal::term::Term;πuse alacritty_terminal::vte::ansi::Attr;πuse alacritty_terminal::vte::ansi::CharsetIndex;πuse alacritty_terminal::vte::ansi::ClearMode;πuse alacritty_terminal::vte::ansi::CursorShape;πuse alacritty_terminal::vte::ansi::CursorStyle;πuse alacritty_terminal::vte::ansi::Handler;πuse alacritty_terminal::vte::ansi::Hyperlink;πuse alacritty_terminal::vte::ansi::KeyboardModes;πuse alacritty_terminal::vte::ansi::KeyboardModesApplyBehavior;πuse alacritty_terminal::vte::ansi::LineClearMode;πuse alacritty_terminal::vte::ansi::Mode;πuse alacritty_terminal::vte::ansi::ModifyOtherKeys;πuse alacritty_terminal::vte::ansi::PrivateMode;πuse alacritty_terminal::vte::ansi::Processor;πuse alacritty_terminal::vte::ansi::Rgb;πuse alacritty_terminal::vte::ansi::ScpCharPath;πuse alacritty_terminal::vte::ansi::ScpUpdateMode;πuse alacritty_terminal::vte::ansi::StandardCharset;πuse alacritty_terminal::vte::ansi::TabulationClearMode;π
MacrosΒ§
- forward π
StructsΒ§
- Counted π
- One parseβs worth of counting.
FunctionsΒ§
- advance π
- Drive
parseroverbytes, then add the lines that entered the buffer toappended- the lifetime count a read cursor is measured in.