推出 Despacer:修復終端機指令換行的 Mac 選單列應用程式
Introducing Despacer: Copy. Paste. In One Piece.
Despacer 是一款 Mac 選單列應用程式,可修復複製到終端機後散開的指令換行,並可從本機 Agent 工作階段記錄還原原文。它免費開源,採用 MIT 授權,不連接網絡、不收集數據,支援 macOS 14 Sonoma 或更新版本,目前須從原始碼建置安裝。
I got tired of copying a command from Claude Code or Codex, pasting it into my terminal, and watching it fall apart. Those line breaks aren’t just visual wrapping. They come along for the ride.
So I built Despacer: a tiny Mac menu bar app that puts wrapped commands back together. Copy and paste the way you already do. It repairs the breaks and can recover the original text from your local agent session history.
It’s free and open source under the MIT license. No network access, no analytics, no data collected. And if a repair misses the mark, Undo Last Fix brings your original copy back.
Despacer runs on macOS 14 Sonoma or later. For now, you install it by building from source; the README has the steps.
來源:DEV Community · dev.to