A simple utility for cleaning up whitespace from Claude Code terminal app copies
I built a super-niche tool that solves a very specific problem I run into when working with the Claude Code terminal app. When I copy prompts out of the terminal, they often come with weird additional whitespace that makes them messy to reuse or share. This tool cleans that up automatically.
The tool is straightforward - it strips out the extra whitespace that gets included when copying text from the Claude Code interface. I find myself needing this often enough that it was worth creating a dedicated solution rather than manually cleaning up each paste.
This is the kind of utility that probably only helps a handful of people who work with Claude Code in the same way I do, but that's exactly the kind of tool I like to build - solving my own problems, even if the audience is small.
Posted 6th April 2026 at 2:55 am
Recent articles:
- The Axios supply chain attack used individually targeted social engineering - 3rd April 2026
- Highlights from my conversation about agentic engineering on Lenny's Podcast - 2nd April 2026
- Mr. Chatterbox is a (weak) Victorian-era ethically trained model you can run on your own computer - 30th March 2026
This is a beat by Simon Willison, posted on 6th April 2026.
tools 55 claude-code 104
Monthly briefing Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments. Pay me to send you less!
Disclosures Colophon © 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Comments
Please log in or register to join the discussion