You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenCode displays/behaves incorrectly when launched inside Neovim’s terminal (running in Kitty) — works fine in Kitty directly #2257
When I launch opencode inside Neovim’s integrated terminal (with Neovim itself running inside Kitty), the TUI is broken: right border artifacts, misaligned input area, and unstable interaction.
When I launch opencode directly in a Kitty tab, everything works as expected.
Screenshot: left = Neovim :terminal running opencode (broken), right = Kitty terminal running opencode (OK).
(see attached image)
Steps to Reproduce
Open Kitty.
Start Neovim.
Open Neovim’s built-in terminal: :terminal.
Run opencode.
Compare the result with running opencode directly inside Kitty (without Neovim).
TUI isn't usable in Intellij's terminal #532: TUI isn't usable in Intellij's terminal - TUI rendering problems in IDE terminals (IntelliJ), showing similar patterns of terminal incompatibility
TUI broken in Jetbains console #408: TUI broken in Jetbrains console - TUI broken when executed within JetBrains console, showing layout issues
This absolutely doesn't fix the issue for me. Scrolling no matter the theme only scrolls through the command window! Not the actual chat output (which is what I want).
Activity
github-actions commentedon Aug 26, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
blaadje commentedon Aug 26, 2025
Closing this as
systemtheme provided by env variable fixed the layout issue. (fish :set -x OPENCODE_THEME system)Still scrolling through content in normal mode is not possible, which is basically why I would use opencode in nvim.
hongkongkiwi commentedon Sep 20, 2025
This absolutely doesn't fix the issue for me. Scrolling no matter the theme only scrolls through the command window! Not the actual chat output (which is what I want).