Skip to main content

Module buffer

Module buffer 

Source
Expand description

Buffer module: Core data structures for the double-buffer rendering system.

This module contains:

  • Cell: The atomic unit of display, optimized for cache efficiency
  • Buffer: A grid of cells representing the terminal screen
  • Rgb: True-color representation
  • Modifiers: Text style bitflags
  • diff: Diffing engine for generating minimal ANSI sequences
  • rope: Rope-based buffer for efficient large document storage

Re-exports§

pub use rope::RopeBuffer;
pub use rope::ChunkedLine;
pub use rope::RopeMemoryStats;

Modules§

diff
Diffing Engine: Generate minimal ANSI sequences from buffer changes.
rope
Rope Buffer: Chunked storage for efficient large document handling.

Structs§

Buffer
A grid of cells representing the terminal screen.
Cell
A single terminal cell.
CellFlags
Cell-level flags for special states.
Modifiers
Text style modifiers.
Rgb
True-color RGB representation.