OpenCode is not aligned properly and messages are overlayed with each other in JetBrains IDE Terminal #1455

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

Originally created by @tzutoo on GitHub (Aug 22, 2025).

Originally assigned to: @adamdotdevin on GitHub.

The JetBrains terminal uses Mono font by default.

However the Opencode seems not playing well with it.

Originally created by @tzutoo on GitHub (Aug 22, 2025). Originally assigned to: @adamdotdevin on GitHub. The JetBrains terminal uses Mono font by default. However the Opencode seems not playing well with it.
yindo closed this issue 2026-02-16 17:31:03 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 22, 2025):

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

  • #408: TUI broken in JetBrains console - reports similar display issues specifically in JetBrains IDE terminal
  • #532: TUI isn't usable in IntelliJ's terminal - describes unusable UI in IntelliJ terminal (same family as JetBrains)
  • #1146: The terminal UI display is abnormal - general terminal UI display problems
  • #642: Text input overlays the chat/messages - describes overlay/alignment issues similar to your description
  • #1291: TUI: Text area overlaps the messages - another report of overlapping display elements

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

@github-actions[bot] commented on GitHub (Aug 22, 2025): This issue might be a duplicate of existing issues. Please check: - #408: TUI broken in JetBrains console - reports similar display issues specifically in JetBrains IDE terminal - #532: TUI isn't usable in IntelliJ's terminal - describes unusable UI in IntelliJ terminal (same family as JetBrains) - #1146: The terminal UI display is abnormal - general terminal UI display problems - #642: Text input overlays the chat/messages - describes overlay/alignment issues similar to your description - #1291: TUI: Text area overlaps the messages - another report of overlapping display elements Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 22, 2025):

@tzutoo duplicate of #408 no?

@rekram1-node commented on GitHub (Aug 22, 2025): @tzutoo duplicate of #408 no?
Author
Owner

@juliusz-cwiakalski commented on GitHub (Oct 28, 2025):

I think this is not due to font, I've tested several different fonts in Intellikj terminal settings and it's messed up the same on any font I've tested (~10 fonts).

Image

I don't have experience with terminal UI but my wild guess is that it's somehow incompatible when it comes to redrawing/coordinates etc.

uname -a
Linux juliusz-Latitude-5421 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Intellij details:
IntelliJ IDEA 2025.2.4 (Ultimate Edition)
Build #IU-252.27397.103, built on October 23, 2025
Source revision: 9b31ba2c05b47
Licensed to Juliusz Ćwiąkalski
Subscription is active until December 21, 2025.
Runtime version: 21.0.8+9-b1038.73 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.8.0-86-generic
Ubuntu 24.04.3 LTS; glibc: 2.39
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 10240M
Cores: 16
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
aws.toolkit.core (3.97.252)
com.github.deeepamin.gitlabciaid (1.14.0)
com.anthropic.code.plugin (0.1.12-beta)
Key Promoter X (2024.2.2)
google-java-format (1.30.0.1)
com.intellij.mermaid (0.0.26+IJ.252)
com.github.copilot (1.5.59-243)
aws.toolkit (3.97.252)
Kotlin: 252.27397.103-IJ
Current Desktop: ubuntu:GNOME

@juliusz-cwiakalski commented on GitHub (Oct 28, 2025): I think this is not due to font, I've tested several different fonts in Intellikj terminal settings and it's messed up the same on any font I've tested (~10 fonts). <img width="1919" height="1080" alt="Image" src="https://github.com/user-attachments/assets/f374bef7-f46d-4f99-9860-087317617f2a" /> I don't have experience with terminal UI but my wild guess is that it's somehow incompatible when it comes to redrawing/coordinates etc. uname -a Linux juliusz-Latitude-5421 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Intellij details: IntelliJ IDEA 2025.2.4 (Ultimate Edition) Build #IU-252.27397.103, built on October 23, 2025 Source revision: 9b31ba2c05b47 Licensed to Juliusz Ćwiąkalski Subscription is active until December 21, 2025. Runtime version: 21.0.8+9-b1038.73 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.X11.XToolkit Linux 6.8.0-86-generic Ubuntu 24.04.3 LTS; glibc: 2.39 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 10240M Cores: 16 Registry: ide.experimental.ui=true Non-Bundled Plugins: aws.toolkit.core (3.97.252) com.github.deeepamin.gitlabciaid (1.14.0) com.anthropic.code.plugin (0.1.12-beta) Key Promoter X (2024.2.2) google-java-format (1.30.0.1) com.intellij.mermaid (0.0.26+IJ.252) com.github.copilot (1.5.59-243) aws.toolkit (3.97.252) Kotlin: 252.27397.103-IJ Current Desktop: ubuntu:GNOME
Author
Owner

@rekram1-node commented on GitHub (Oct 28, 2025):

@juliusz-cwiakalski try TERM=screen opencode

We are rewriting the tui and about to ship, it should fix this issue, but this is a work around for time being^

@rekram1-node commented on GitHub (Oct 28, 2025): @juliusz-cwiakalski try `TERM=screen opencode` We are rewriting the tui and about to ship, it should fix this issue, but this is a work around for time being^
Author
Owner

@juliusz-cwiakalski commented on GitHub (Oct 31, 2025):

Thank you so much @rekram1-node - I confirm that this works: TERM=screen opencode !!!

And thank you for the great job creating Opencode! I'ts AWESOME! 🎉

@juliusz-cwiakalski commented on GitHub (Oct 31, 2025): Thank you so much @rekram1-node - I confirm that this works: `TERM=screen opencode` !!! And thank you for the great job creating Opencode! I'ts AWESOME! 🎉
Author
Owner

@rekram1-node commented on GitHub (Oct 31, 2025):

Glad you're liking it, happy to help!

@rekram1-node commented on GitHub (Oct 31, 2025): Glad you're liking it, happy to help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1455