pub fn write_sized_text<W: Write + ?Sized>(
out: &mut W,
text: &str,
sizing: TextSizing,
) -> Result<()>Expand description
Write one OSC 66 sequence at the current cursor position.
Text must be escape-code-safe UTF-8 with at most 4096 bytes. Empty text encodes an explicit space so the terminal advances the cursor. A leading combining character can join existing terminal content; screen placements require text that stays within their declared footprint.
Invalid metadata or text returns InvalidInput before any bytes are written.
Writer errors are propagated. This function does not flush.