I noticed that the latest Chafa version 1.16.0 no longer works with lf. It seems that the issue is caused by broken piping and redirection in that version.
For example, if you try to run these commands in PowerShell, they will freeze the shell:
Chafa.exe -f symbols .\ff8a8ad6.jpg | Out-File -FilePath output.txt
Chafa.exe -f symbols .\ff8a8ad6.jpg > output.txt
The issue also occurs in MSYS2 with Bash and Zsh.
Edit: Shortened the title