use Regex;
use OnceLock;
use UnicodeWidthStr;
static ANSI_STRIP_REGEX: = new;
/// Returns the display width (terminal columns) of `bytes` when interpreted as UTF-8.
/// Only used when align is active. Uses lossy decoding and strips ANSI CSI sequences before measuring.