Recommended Terminal for Windows - as all I tried have weird artifacts so far #1855

Open
opened 2026-02-16 17:32:57 -05:00 by yindo · 21 comments
Owner

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

Originally assigned to: @rekram1-node on GitHub.

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.

Originally created by @CodingPassionYT on GitHub (Sep 27, 2025). Originally assigned to: @rekram1-node on GitHub. 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.
yindo added the windows label 2026-02-16 17:32:57 -05:00
Author
Owner

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

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.

@github-actions[bot] commented on GitHub (Sep 27, 2025): 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.
Author
Owner

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

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

Image
@jameswilliamknight commented on GitHub (Sep 27, 2025): 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 ```sh printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" ``` for me it's a deep orange <img width="83" height="36" alt="Image" src="https://github.com/user-attachments/assets/6c6e268a-1268-4e0f-b826-cf8a3233cd4b" />
Author
Owner

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

@itsrainingmani

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

@neochin-john commented on GitHub (Sep 29, 2025):

I use opencode in git bash . Scroll seems ok :)

@neochin-john commented on GitHub (Sep 29, 2025): I use opencode in `git bash` . Scroll seems ok :)
Author
Owner

@kingabzpro commented on GitHub (Sep 29, 2025):

@neochin-john even on git bash the scroll dosent work for the generated response. Only page up and down work for scrolling.

@kingabzpro commented on GitHub (Sep 29, 2025): @neochin-john even on git bash the scroll dosent work for the generated response. Only page up and down work for scrolling.
Author
Owner

@neochin-john commented on GitHub (Sep 29, 2025):

@kingabzpro alacritty is ok for me (win11), too. You can try it.

@neochin-john commented on GitHub (Sep 29, 2025): @kingabzpro [alacritty](https://github.com/alacritty/alacritty) is ok for me (win11), too. You can try it.
Author
Owner

@kingabzpro commented on GitHub (Sep 29, 2025):

@kingabzpro alacritty is ok for me (win11), too. You can try it.

It works on wsl only.

@kingabzpro commented on GitHub (Sep 29, 2025): > @kingabzpro [alacritty](https://github.com/alacritty/alacritty) is ok for me (win11), too. You can try it. It works on wsl only.
Author
Owner

@neochin-john commented on GitHub (Sep 29, 2025):

@kingabzpro There is a msi installer on alacritty home page, use it.

Image Image
@neochin-john commented on GitHub (Sep 29, 2025): @kingabzpro There is a msi installer on alacritty home page, use it. <img width="1647" height="1239" alt="Image" src="https://github.com/user-attachments/assets/f6f65652-ad6e-4b11-95f4-7b3528284301" /> <img width="864" height="423" alt="Image" src="https://github.com/user-attachments/assets/12494566-f23d-47f2-92b3-0d0fdd8aa640" />
Author
Owner

@nuson999 commented on GitHub (Sep 30, 2025):

I ran opencode through git bash from cursor and have no problem since then.

@nuson999 commented on GitHub (Sep 30, 2025): I ran opencode through git bash from cursor and have no problem since then.
Author
Owner

@vrajpat3ll commented on GitHub (Sep 30, 2025):

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

@vrajpat3ll commented on GitHub (Sep 30, 2025): > 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
Author
Owner

@CodingPassionYT commented on GitHub (Oct 1, 2025):

Ok thought I tried git bash already. Will try it again today :)

@CodingPassionYT commented on GitHub (Oct 1, 2025): Ok thought I tried git bash already. Will try it again today :)
Author
Owner

@JunarisAlf commented on GitHub (Oct 3, 2025):

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)

@JunarisAlf commented on GitHub (Oct 3, 2025): 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)
Author
Owner

@nielpattin commented on GitHub (Oct 5, 2025):

Currently, I found alacritty and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild

Image
@nielpattin commented on GitHub (Oct 5, 2025): Currently, I found [alacritty](https://github.com/alacritty/alacritty) and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild <img width="1396" height="1004" alt="Image" src="https://github.com/user-attachments/assets/a6cc1689-1f68-49b5-8829-9ac01e7a7266" />
Author
Owner

@kingabzpro commented on GitHub (Oct 10, 2025):

Currently, I found alacritty and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild

Image

It dosent work for me. I think. I have to install with npm, the winget way of installing is not working.

@kingabzpro commented on GitHub (Oct 10, 2025): > Currently, I found [alacritty](https://github.com/alacritty/alacritty) and wezterm also seem working, like: No weird scroll(the input stuck) and I can paste image??? Wild > > <img alt="Image" width="1396" height="1004" src="https://private-user-images.githubusercontent.com/66520542/497628898-a6cc1689-1f68-49b5-8829-9ac01e7a7266.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjAwOTE3MzksIm5iZiI6MTc2MDA5MTQzOSwicGF0aCI6Ii82NjUyMDU0Mi80OTc2Mjg4OTgtYTZjYzE2ODktMWY2OC00OWI1LTg4MjktOWFjMDFlN2E3MjY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEwMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMDEwVDEwMTcxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyOGQyM2M4ZmMyMWMxODIyMWIwOTRlMGFmOTZmMzg1NmQxZDEwNDZiYzcyODkxYThjOGEwZTdiYjg1NmE1NTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._2ttDbONADtfDctVDR4K8iQLJg3gL3tlu4Wj2J4cFMk"> It dosent work for me. I think. I have to install with npm, the winget way of installing is not working.
Author
Owner

@nielpattin commented on GitHub (Oct 10, 2025):

@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.

@nielpattin commented on GitHub (Oct 10, 2025): @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.
Author
Owner

@kingabzpro commented on GitHub (Oct 10, 2025):

@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.

  1. Install
npm i -g opencode-ai
  1. 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')
}
  1. 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.

Image
@kingabzpro commented on GitHub (Oct 10, 2025): > [@kingabzpro](https://github.com/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. 1. Install ```powershell npm i -g opencode-ai ``` 2. Add npm global to PATH (once) ```powershell $bin = (npm config get prefix) if (($env:Path -split ';') -notcontains $bin) { $u = [Environment]::GetEnvironmentVariable('Path','User') [Environment]::SetEnvironmentVariable('Path', "$u;$bin", 'User') } ``` 3. Use with **portable Alacritty**, run `alacritty.exe`, then: ```powershell opencode ``` **Note:** Prefer the portable Alacritty exe file; other installs (e.g., winget) can mess with scrollback. <img width="1919" height="998" alt="Image" src="https://github.com/user-attachments/assets/8560a2bb-0c57-4076-bca3-09442b833263" />
Author
Owner

@nielpattin commented on GitHub (Oct 10, 2025):

@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.

@nielpattin commented on GitHub (Oct 10, 2025): @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.
Author
Owner

@Soren8 commented on GitHub (Oct 30, 2025):

Alacritty working great for me. Thanks guys.

@Soren8 commented on GitHub (Oct 30, 2025): Alacritty working great for me. Thanks guys.
Author
Owner

@cocoveal commented on GitHub (Nov 10, 2025):

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.

@cocoveal commented on GitHub (Nov 10, 2025): 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: ```lua 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.
Author
Owner

@expl0r3rgu1 commented on GitHub (Nov 28, 2025):

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

@expl0r3rgu1 commented on GitHub (Nov 28, 2025): 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
Author
Owner

@pschiel commented on GitHub (Dec 26, 2025):

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

@pschiel commented on GitHub (Dec 26, 2025): 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1855