mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-18 03:49:50 -06:00
Several users on Windows reported that lazygit wouldn't start any more and failed with "yaml: control characters are not allowed" (#3023). Their state.yml was filled with zero bytes, most likely because the machine crashed or lost power shortly after lazygit had written the file. They had to find the file and delete it to make lazygit start again. Start with the defaults in this case. The file holds things like the shell command history and the recent repos list; losing them is better than not starting. The next save replaces the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>