Strip formatting junk from LLM terminal output.
cargo install --path .Copy messy text, then:
cleanClipboard is cleaned. Paste.
Also works with pipes:
cat dirty.txt | clean- Removes box-drawing characters (
│┃╏╎▌) - Strips leading
>and border pipes - Merges broken lines while preserving lists and structure
- Normalizes whitespace
- Copies result to clipboard