Skip to main content

write_irc

Function write_irc 

Source
pub fn write_irc(grid: &RenderGrid, warn_on_strip: bool) -> Vec<u8> 
Available on crate feature output-irc only.
Expand description

Encode grid as a sequence of mIRC ^C color-coded bytes per FR-006 + FR-015 + FR-027.

warn_on_strip = true emits a single stderr warning if any byte was stripped per the non-printable filter. The strip is silent by default; the CLI exposes this knob via --warn-irc-strip in Phase 9.