A tiny wrapper to use CotEditor as the external editor (Ctrl+G) in Claude Code on macOS.
cot -w already waits for the document to close, so the wrapper exists solely to return focus to the originating terminal after the document is closed. Without it, CotEditor stays in the foreground after ⌘W and you have to switch back manually.