flywheel/buffer/mod.rs
1//! Buffer module: Core data structures for the double-buffer rendering system.
2//!
3//! This module contains:
4//! - [`Cell`]: The atomic unit of display, optimized for cache efficiency
5//! - [`Buffer`]: A grid of cells representing the terminal screen
6//! - [`Rgb`]: True-color representation
7//! - [`Modifiers`]: Text style bitflags
8//! - [`diff`]: Diffing engine for generating minimal ANSI sequences
9//! - [`rope`]: Rope-based buffer for efficient large document storage
10
11mod cell;
12#[allow(clippy::module_inception)]
13mod buffer;
14pub mod diff;
15pub mod rope;
16
17pub use cell::{Cell, CellFlags, Modifiers, Rgb};
18pub use buffer::Buffer;
19pub use rope::{RopeBuffer, ChunkedLine, RopeMemoryStats};
20