Shitty characters in the input #1861

Closed
opened 2026-02-16 17:32:59 -05:00 by yindo · 9 comments
Owner

Originally created by @cvkmohan on GitHub (Sep 27, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Image I am on Fedora, Fish Shell and Konsole. When I am conversing with opencode, the input box is always filled with some garbage characters and appears clumsy. When I press enter - the text is visible fine again. Attached image.
Originally created by @cvkmohan on GitHub (Sep 27, 2025). Originally assigned to: @adamdotdevin on GitHub. <img width="3827" height="571" alt="Image" src="https://github.com/user-attachments/assets/4bc73566-bc14-417a-8c68-1c17e50ba3f9" /> I am on Fedora, Fish Shell and Konsole. When I am conversing with opencode, the input box is always filled with some garbage characters and appears clumsy. When I press enter - the text is visible fine again. Attached image.
yindo closed this issue 2026-02-16 17:32:59 -05:00
Author
Owner

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

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

  • #2791: Input area takes two lines, input cursor is above the text by one line - similar input display issues with cursor positioning
  • #2762: Unusable scrambled TUI - display corruption issues in TUI interface
  • #2593: Opencode produces garbled text when input containing non-ASCII characters - character encoding/display problems
  • #2700: Visual TUI bug on startup - cursor positioning and visual display issues
  • #2697: TUI looks horrible after a single prompt - similar terminal display corruption on Fedora
  • #2821: Recommended Terminal for Windows - terminal compatibility issues with display artifacts

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

@github-actions[bot] commented on GitHub (Sep 27, 2025): This issue might be a duplicate of existing issues. Please check: - #2791: Input area takes two lines, input cursor is above the text by one line - similar input display issues with cursor positioning - #2762: Unusable scrambled TUI - display corruption issues in TUI interface - #2593: Opencode produces garbled text when input containing non-ASCII characters - character encoding/display problems - #2700: Visual TUI bug on startup - cursor positioning and visual display issues - #2697: TUI looks horrible after a single prompt - similar terminal display corruption on Fedora - #2821: Recommended Terminal for Windows - terminal compatibility issues with display artifacts Feel free to ignore if none of these address your specific case.
Author
Owner

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

wow what that’s weird

@rekram1-node commented on GitHub (Sep 27, 2025): wow what that’s weird
Author
Owner

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

did you write any plugins or tools that write to stdout?

Can you tell me more about your config? Tooling wise etc

@rekram1-node commented on GitHub (Sep 27, 2025): did you write any plugins or tools that write to stdout? Can you tell me more about your config? Tooling wise etc
Author
Owner

@cvkmohan commented on GitHub (Sep 27, 2025):

No. Nothing. plain opencode installation - latest 0.12.1

Image Even the output from opencode is appearing like this. Difficult to read. :(
Most likely this is a TUI problem? And should this be raised in that repo? Sorry - if it is the case.

@cvkmohan commented on GitHub (Sep 27, 2025): No. Nothing. plain opencode installation - latest 0.12.1 <img width="3827" height="1916" alt="Image" src="https://github.com/user-attachments/assets/af0aba1f-0ac5-491d-96a9-9aa8e46ef21e" /> Even the output from opencode is appearing like this. Difficult to read. :( Most likely this is a TUI problem? And should this be raised in that repo? Sorry - if it is the case.
Author
Owner

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

yeah this looks like an issue specific to your terminal emulator since u are using Konsole I think if you resize this window a bit it will paint better

opencode still uses charm but the migration to opentui is almost done so hopefully this issue will be addressed by that

@rekram1-node commented on GitHub (Sep 27, 2025): yeah this looks like an issue specific to your terminal emulator since u are using Konsole I think if you resize this window a bit it will paint better opencode still uses charm but the migration to opentui is almost done so hopefully this issue will be addressed by that
Author
Owner

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

seeing the output now makes it clear this is another instance of: #2697

originally it looked like something else but i was mistaken

@rekram1-node commented on GitHub (Sep 27, 2025): seeing the output now makes it clear this is another instance of: #2697 originally it looked like something else but i was mistaken
Author
Owner

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

going to mark as duplicate of #2697

@rekram1-node commented on GitHub (Sep 27, 2025): going to mark as duplicate of #2697
Author
Owner

@cvkmohan commented on GitHub (Sep 27, 2025):

So using something like ghostty will fix the issue immediately?

@cvkmohan commented on GitHub (Sep 27, 2025): So using something like ghostty will fix the issue immediately?
Author
Owner

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

it should yes!

@rekram1-node commented on GitHub (Sep 27, 2025): it should yes!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1861