opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Screen lag/freezing when typing text (WSL2, TMUX, Alacritty)

Open matevszm opened this issue 1 day ago • 3 comments

Description

Image

I have recently started using opencode and I think it's a great tool, but unfortunately, when writing prompts, I experience unpleasant freeze/lags for few seconds. I use opencode inside WSL 2 on Windows 11, using the alacritty terminal inside tmux, although I checked and tmux has nothing to do with it here, I use bash.

I did not observe anything like that during the work of agent itself.

The GIF shows an unpleasant lag that disturbs with writing longer prompts and is simply annoying. Has anyone experienced something similar or knows how to fix it?

Ubuntu 24.04.2 LTS Opencode 1.1.20 alacritty 0.16.1 (42f49ee) WSL version: 2.6.3.0 Linux kernel: 6.6.87.2-1

Steps to reproduce

Run alacritty terminal on windows with WSL2 (ubuntu) inside, run opencode and start type

matevszm avatar Jan 14 '26 15:01 matevszm