Text display issue on Ubuntu #1553

Closed
opened 2026-02-16 17:31:30 -05:00 by yindo · 10 comments
Owner

Originally created by @ljie-PI on GitHub (Sep 1, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Image Image
Originally created by @ljie-PI on GitHub (Sep 1, 2025). Originally assigned to: @adamdotdevin on GitHub. <img width="1723" height="1002" alt="Image" src="https://github.com/user-attachments/assets/c3f7afe3-0103-4e43-9b20-c6ac3b1959a2" /> <img width="1723" height="1002" alt="Image" src="https://github.com/user-attachments/assets/bf7b7291-e278-4d49-be2d-639d3c13fe51" />
yindo closed this issue 2026-02-16 17:31:30 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 1, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #811: Text rendering is VERY slow (and CPU usage is really high even when idle) - Similar display/rendering issues on Ubuntu 22.04
  • #2256: Bug [Visual]: TUI populated with gibberish upon copying - Visual TUI display problems with text corruption
  • #1864: tui rendering artifacting - TUI rendering issues that require force updates
  • #1146: The terminal UI display is abnormal - Similar terminal display issues on different systems
  • #240: Display issues inside Neovim terminal - Visual display problems in certain terminal environments

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 1, 2025): This issue might be a duplicate of existing issues. Please check: - #811: Text rendering is VERY slow (and CPU usage is really high even when idle) - Similar display/rendering issues on Ubuntu 22.04 - #2256: Bug [Visual]: TUI populated with gibberish upon copying - Visual TUI display problems with text corruption - #1864: tui rendering artifacting - TUI rendering issues that require force updates - #1146: The terminal UI display is abnormal - Similar terminal display issues on different systems - #240: Display issues inside Neovim terminal - Visual display problems in certain terminal environments Feel free to ignore if none of these address your specific case.
Author
Owner

@ljie-PI commented on GitHub (Sep 1, 2025):

I tried in several terminals (WezTerm, Warp, etc.) and always saw this happen.

@ljie-PI commented on GitHub (Sep 1, 2025): I tried in several terminals (WezTerm, Warp, etc.) and always saw this happen.
Author
Owner

@rekram1-node commented on GitHub (Sep 1, 2025):

thats odd, also what theme is that it looks cool

@rekram1-node commented on GitHub (Sep 1, 2025): thats odd, also what theme is that it looks cool
Author
Owner

@ljie-PI commented on GitHub (Sep 1, 2025):

It's the default theme of Ubuntu terminal :)

@ljie-PI commented on GitHub (Sep 1, 2025): It's the default theme of Ubuntu terminal :)
Author
Owner

@ljie-PI commented on GitHub (Sep 1, 2025):

Could it be caused by the "bubbletea" library?

@ljie-PI commented on GitHub (Sep 1, 2025): Could it be caused by the "bubbletea" library?
Author
Owner

@rekram1-node commented on GitHub (Sep 1, 2025):

maybe I'm not sure tbh never seen the double text issue before

@rekram1-node commented on GitHub (Sep 1, 2025): maybe I'm not sure tbh never seen the double text issue before
Author
Owner

@ljie-PI commented on GitHub (Sep 1, 2025):

I don't think it's double text issue.
In the first picture, it first column in the eidtor is not occupied to display text, so the input text overlaps with the cursor.
In the second picture, the first column in the completion box is not refreshed.

I added some debug log in the editor, the column of charactor and cursor looked good, and it works well in my other OS (mac, windows, wsl), so I thought it could be the problem of "bubbletea". But I haven't verified.

@ljie-PI commented on GitHub (Sep 1, 2025): I don't think it's double text issue. In the first picture, it first column in the eidtor is not occupied to display text, so the input text overlaps with the cursor. In the second picture, the first column in the completion box is not refreshed. I added some debug log in the editor, the column of charactor and cursor looked good, and it works well in my other OS (mac, windows, wsl), so I thought it could be the problem of "bubbletea". But I haven't verified.
Author
Owner

@yDog-1 commented on GitHub (Sep 2, 2025):

I encountered the same display issue. I'm using Pop! OS, and my terminal is Wezterm.
Changing my $LANG from ja_JP.UTF-8 to en_US.UTF-8 resolved the issue.

@yDog-1 commented on GitHub (Sep 2, 2025): I encountered the same display issue. I'm using Pop! OS, and my terminal is Wezterm. Changing my $LANG from ja_JP.UTF-8 to en_US.UTF-8 resolved the issue.
Author
Owner

@ljie-PI commented on GitHub (Sep 2, 2025):

Thanks @yDog-1, I was using zh_CN.UTF-8. It works after changing to C.UTF-8.

I still suspect it's caused by some dependencies. Closing this issue in this repo.

@ljie-PI commented on GitHub (Sep 2, 2025): Thanks @yDog-1, I was using zh_CN.UTF-8. It works after changing to C.UTF-8. I still suspect it's caused by some dependencies. Closing this issue in this repo.
Author
Owner

@rekram1-node commented on GitHub (Sep 2, 2025):

sweet, thanks for jumping in @yDog-1

@rekram1-node commented on GitHub (Sep 2, 2025): sweet, thanks for jumping in @yDog-1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1553