use crateCellGroup;
use Box;
/// One visual line in the terminal backlog.
///
/// A line is either a single run ([`Full`](Self::Full)) or a sequence of runs
/// ([`Segs`](Self::Segs)); each run is a [`CellGroup`] of same-colored characters.
///
/// `Full` is the common case — a whole line in one color, e.g. output. `Segs`
/// models a line that mixes styles, e.g. the input line's differently-colored
/// prompt and typed text.