Skip to main content

Module ansiasm

Module ansiasm 

Source
Expand description

Stateful line assembly over turbo_vision’s stateless ANSI parser.

Structs§

AnsiLineAssembler
Feeds a byte stream into AnsiParser one line at a time, carrying SGR state across line breaks and holding back incomplete input.

Functions§

attr_to_sgr
The SGR sequence that reproduces attr from a fresh parser state.