Skip to content

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

Closed as not planned

Description

@CodingPassionYT

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.

Activity

  1. github-actions commented on Sep 27, 2025

    @github-actions
    Contributor

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

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

  2. jameswilliamknight commented on Sep 27, 2025

    @jameswilliamknight

    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
  3. rekram1-node commented on Sep 27, 2025

    @rekram1-node
    Collaborator
  4. self-assigned this
    on Sep 27, 2025
  5. neochin-john commented on Sep 29, 2025

    @neochin-john

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

  6. kingabzpro commented on Sep 29, 2025

    @kingabzpro

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

  7. neochin-john commented on Sep 29, 2025

    @neochin-john

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

  8. kingabzpro commented on Sep 29, 2025

    @kingabzpro

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

    It works on wsl only.

  9. neochin-john commented on Sep 29, 2025

    @neochin-john

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

    Image Image
  10. nuson999 commented on Sep 30, 2025

    @nuson999

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

  11. vrajpat3ll commented on Sep 30, 2025

    @vrajpat3ll

    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

  12. CodingPassionYT commented on Oct 1, 2025

    @CodingPassionYT
    Author

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

  13. JunarisAlf commented on Oct 4, 2025

    @JunarisAlf

    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)

  14. nielpattin commented on Oct 6, 2025

    @nielpattin

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

    Image
  15. kingabzpro commented on Oct 10, 2025

    @kingabzpro

    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.

  16. nielpattin commented on Oct 10, 2025

    @nielpattin

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

  17. kingabzpro commented on Oct 10, 2025

    @kingabzpro

    @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
  18. nielpattin commented on Oct 10, 2025

    @nielpattin

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

  19. Soren8 commented on Oct 30, 2025

    @Soren8

    Alacritty working great for me. Thanks guys.

  20. cocoveal commented on Nov 10, 2025

    @cocoveal

    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.

  21. expl0r3rgu1 commented on Nov 28, 2025

    @expl0r3rgu1

    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

  22. pschiel commented on Dec 26, 2025

    @pschiel
    Contributor

    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

  23. jax0m commented on Mar 7, 2026

    @jax0m

    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

    Confirming the same, I have stock windows terminal and am running opencode installed via winget (in windows native not in wsl) and so far it seems like there are none of the interface issues mentioned outside of the paste items mentioned in the quote above and #3081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions