[bug]: text rendering starts to corrupt
Bug Description
The terminal sometimes starts rendering text incorrectly. Characters appear misplaced, words become compressed or broken, and the terminal output becomes hard to read.
Claude Code chat
The only work around I know of right now is to refresh Electron (cmd + r) to force the terminals to rerender
Steps to Reproduce
There isn't an obvious way to reproduce this yet
- Open Emdash.
- Open a task or workspace with a terminal/agent session.
- Let the terminal produce normal output for a while.
- Observe that the terminal text may begin rendering incorrectly, with garbled spacing or overlapping characters.
Actual vs Expected Behavior
See the attached screenshot, the text starts rendering over itself. The expected behavior is that it doesn't happen
emdash Version
1.1.27
Operating System
macOS 15.6.1
Additional Context
No response
Hi @kchung, thanks for raising this.
We recently pushed a fix for a related Claude Code rendering issue when tmux is enabled.
Do you have tmux enabled when you experience this bug? Also, does this only happen with Claude Code, or have you seen it with other coding agents too?
Hey @arnestrickmann, I do not have tmux enabled for this. It's pretty easy to recreate with Antigravity, CC is much harder because it'll eventually just start happening
For both of these sessions, I am typing while the prompt is generating:
agy
https://github.com/user-attachments/assets/41a74008-a4db-4f73-97ec-5f638c336b4e
agy in terminal
https://github.com/user-attachments/assets/356ae19a-6203-46e3-832f-19c19b9b9914
@arnestrickmann I threw one of the agents at it and it came up with this fix: https://github.com/generalaction/emdash/pull/2415. Seems to work well for the Antigravity CLI issue, haven't noticed CC acting up yet on this build
Thank you for the context and for attaching the recordings. We’ll have a look at this and try to reproduce, esp. with Antigravity. @kchung
Off topic, but I’m curious: are you mainly switching between Antigravity CLI and Claude Code these days, or are there other agents you’re using frequently as well?
Thanks! @kchung
Will check the PR out and keep you up to date here.
Appreciate it!
Thanks @arnestrickmann! Hopefully you can reproduce this as well, this happens on my work laptop and my personal one.
For personal use, I switch between three harnesses: Codex, Claude Code, and Antigravity CLI. I actually haven't really noticed this happening with Codex but see it frequently happen with CC and agy
Super interesting, thanks for the extra detail. I’m mostly on Codex CLI + Claude Code at the moment (sometimes Pi.dev) and haven’t given Antigravity a proper try yet, so that’s useful context 🙌