watermekoOpencode在WSL2下字符输入卡顿的解决办法 中发帖

在WSL下使用opencode发现有时输入/删除字符需要过几秒才会显示。我在网络上没有找到根本的解决方案。只有一个替代方案如下。 
禁用systemd-timesyncd
sudo systemctl stop systemd-timesyncd
sudo systemctl disable systemd-timesyncd
sudo timedatectl set-ntp false

使用替代时间同步软件
我使用chrony。
sudo apt install chrony
sudo systemctl enable --now chrony