Recommended Terminal for Windows - as all I tried have weird artifacts so far
Hello, Windows Terminals seem to not work with opencode across the Board for me. I cannot scroll - answers getting squashed so I can only read few lines of the answers. You get the Problems. Other Issues here - there will always be the question of which terminal they are using. I get that. But if devs don't have problems with their Terminal, pls provide a recommended working Terminal Application for Windows. I am happy to switch to any working Terminal.
This issue might be a duplicate of existing issues. Please check:
- #631: Windows Support - comprehensive issue tracking all Windows-related problems
- #1380: UI Bug with Win11 CMD or WT - terminal fails to scroll and requires pgup/pgdn to refresh UI
- #1864: TUI rendering artifacting - TUI not being re-rendered properly causing display artifacts
- #2697: TUI looks horrible after a single prompt - similar display issues with TUI appearing broken
- #2548: Windows WSL/Jetbrains Goland scrolling bug - scrolling issues on Windows (closed but similar symptoms)
Feel free to ignore if none of these address your specific case.
interesting, I'm using Windows Terminal, have you checked the basics? You say terminal but it can run powershell or WSL, assuming you're using one of those.
WSL, see if you can render this
printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"
for me it's a deep orange
@itsrainingmani
I use opencode in git bash . Scroll seems ok :)
@neochin-john even on git bash the scroll dosent work for the generated response. Only page up and down work for scrolling.
@kingabzpro alacritty is ok for me (win11), too. You can try it.
@kingabzpro There is a msi installer on alacritty home page, use it.
I ran opencode through git bash from cursor and have no problem since then.
I ran opencode through git bash from cursor and have no problem since then.
I tried this. This works perfectly on windows! Thanks mate <3
Ok thought I tried git bash already. Will try it again today :)
When i using git bash, paste is unreliable: text appears slowly (character-by-character) and any newline in the clipboard submits the prompt instead of pasting fully. In WezTerm, copy/paste works, but scrolling is inconsistent—sometimes it scrolls, other times the prompt captures input as if I pressed the up/down arrows (showing command history)
Currently, I found alacritty and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild
Currently, I found alacritty and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild
![]()
It dosent work for me. I think. I have to install with npm, the winget way of installing is not working.
@kingabzpro I mean, what doesn't work? Like weird artifacts, can't paste image, can't open opencode,... ? npm will work fine as it already fixed recently, you can use choco or just download the binary file in the release.
@kingabzpro I mean, what doesn't work? Like weird artifacts, can't paste image, can't open opencode,... ? npm will work fine as it already fixed recently, you can use choco or just download the binary file in the release.
- Install
npm i -g opencode-ai
- Add npm global to PATH (once)
$bin = (npm config get prefix)
if (($env:Path -split ';') -notcontains $bin) {
$u = [Environment]::GetEnvironmentVariable('Path','User')
[Environment]::SetEnvironmentVariable('Path', "$u;$bin", 'User')
}
- Use with portable Alacritty, run
alacritty.exe, then:
opencode
Note: Prefer the portable Alacritty exe file; other installs (e.g., winget) can mess with scrollback.
@kingabzpro the only thing I trust is choco or binary file from github release or npm(recently) and I also use Alacritty not sure why you would use portable but maybe depend on your preference and wezterm also work. winget and bun currently out of the game rn, I suppose.
Alacritty working great for me. Thanks guys.
I am late to the party, but what has been an issue-free experience for me was the following setup:
WezTerm for Windows that bypasses Powershell and opens directly in Bash in WSL (Ubuntu). I do this with the following part of the config:
local wezterm = require 'wezterm'
return {
wsl_domains = wezterm.default_wsl_domains(),
default_domain = 'WSL:Ubuntu',
}
I have downloaded opencode on the WSL instance and then run it from there. It's been a pretty stable experience so far and it looks a little bit nicer than Windows Terminal, except for the black lines at the edges, haha.
Note: You should maybe look up, how the config should like like according to wez, because mine is AI-generated and as you can see, looks weird, but works.
For the record: I'm using opencode in WSL using windows terminal and it's working flawlessly. I noticed the moment the copy paste, the input that broke when you deleted repeatedly and the sudden crashes were fixed and haven't had major issues since then. Only model related stuff that's probably in the many issues created already. (ALL NON-ISSUES, like Github Copilot's anthropic models hitting a specific context limit from which it doesn't recover: neither it compacts automatically nor it actually compacts if you run the command).
Just passing by, very cool editor, i love it
No problems with scrolling with Windows Terminal and various shells (cmd, pwsh, wsl, git bash).
Pasting images works with Settings > Interaction > Remove trailing white-space when pasting OFF