EPIPE Error When Running /clear Command in Ghostty Terminal
Bug Description
When running the /clear command in a ghostty terminal, I receive the following error. This happens consistently. I use fish shell, but I tried switching to bash (per the docs' admonisment) to ensure that that's not a factor.
Happy to provide any additional details!
Error: write EPIPE
at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
at __node_internal_errnoException (node:internal/errors:620:12)
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:945:11)
at Socket._write (node:net:957:8)
at writeOrBuffer (node:internal/streams/writable:399:12)
at _write (node:internal/streams/writable:340:10)
at Writable.write (node:internal/streams/writable:344:10)
at m8.sendToShell (file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:339:243)
at file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:337:1614
at new Promise (<anonymous>)
at m8.exec_ (file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:337:1284)
at m8.processQueue (file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:337:606)
at file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:337:923
at new Promise (<anonymous>)
at m8.exec (file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:337:819)
at m8.setCwd (file:///home/amar/.local/share/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@0.2.9/node_modules/@anthropic-ai/claude-code/cli.mjs:340:453)
Environment Info
- Platform: linux
- Terminal: ghostty
- Version: 0.2.9
- Feedback ID: 9175db8d-9aaf-4bc6-8c94-95ee7531a68c
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗