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

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

Originally created by @matevszm on GitHub (Jan 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @matevszm on GitHub (Jan 14, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description ![Image](https://github.com/user-attachments/assets/25fdd959-3d30-4d60-bee1-97d0523e0c8f) 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
yindo added the windowsopentuibugperf labels 2026-02-16 17:57:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5832