Skip to main content

osc52_sequence

Function osc52_sequence 

Source
pub fn osc52_sequence(text: &str, limit: usize) -> Result<String, String>
Expand description

The escape sequence that asks the terminal to set the system clipboard, or why it was not built. Split from Osc52::write so a test can read the bytes without owning stdout. The size is checked before anything is encoded.