解决光标消失问题

Posted by YongQiang on March 11, 2025

使用 Terminal 时会偶尔遇到光标消失的问题。

1
2
echo -e "\033[?25h" # 显示光标
echo -e "\033[?25l" # 隐藏光标