grid_to_ansi

Function grid_to_ansi 

Source
pub fn grid_to_ansi(grid: &Grid) -> String
Expand description

Render a grid to an ANSI string.

This is intentionally conservative:

  • Continuation cells are skipped (the preceding wide glyph consumes them).
  • Lines are terminated with a reset to avoid style bleed.