claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Ghostty shows random underlines

Open adamavenir opened this issue 9 months ago • 5 comments

Environment

  • Claude CLI version: 0.2.45 (Claude Code)
  • Operating System: macOS 15.3.2
  • Terminal: Ghostty

Bug Description

Sometimes (within the last day only) Claude Code gets into a state where there are a ton of lines in the interface: Image

Steps to Reproduce

  1. Use Claude Code a ton
  2. Lines show up
  3. Profit?

Expected Behavior

Not lines

Actual Behavior

Lines

Additional Context

It seems pretty random

adamavenir avatar Mar 17 '25 16:03 adamavenir

I was not able to repro this with GhostTTY. Does this happen consistently for you? Do you have repro instructions?

wolffiex avatar Mar 18 '25 02:03 wolffiex

I would expect it to be difficult to reproduce. I use Claude Code constantly in multiple windows and I had it happen a couple times but it was seemingly random. Mostly wanted to document it.

One thing I noticed last night after this was the interface got a bit janky in a different way after an error about Claude using malformed JSON in an API (presumably tool) call followed by me doing something with the command bar that evoked the autocomplete dropdown.

It wasn't the same issue, more like broken/missing interface lines and large gaps in the rollback but in this case the interface was back to normal on its own after another message in the chat.

Made me think there's some error handling for malformed JSON in place for whatever caused that but potentially some edge case circumvents it in the "everything is underlined and there are lines through the command bar" because that issue doesn't go away without exiting.

adamavenir avatar Mar 18 '25 14:03 adamavenir

I also get this issue pretty regularly. Sometimes I can make it go away by resizing my window. Sometimes it goes away on its own. I cannot identify any trigger for it.

https://github.com/user-attachments/assets/cd51e45d-c937-490e-9c38-64067166616d

adamavenir avatar Mar 19 '25 00:03 adamavenir

I don't have much to add, but I saw it happens for one project twice (on the same project) using warp terminal (osx).

tadeumaia avatar May 28 '25 07:05 tadeumaia

happening here too. this is inside the terminal on vs code.

Image

c0h1b4 avatar Jun 20 '25 17:06 c0h1b4

happens for me too regularly. what worked for me is hitting 'ctrl + r' to expand everything and then hitting 'ctrl + r' again to revert it to regular view. this usually fixes it for me.

i have had the same thing happen in apple's terminal, warp.dev, and vscode.

ropl-btc avatar Jul 07 '25 18:07 ropl-btc

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 15 '25 14:08 github-actions[bot]