Taking the cli.zig example for example, running it without any changes to the source code results in an error which looks like this:
This error only occurs on when enterAltScreen(...) is not called. I assume that this is something related to my terminal setup, however I am able to replicate it on Windows Terminal and standard cmd.exe. I'm unsure if this is an error exclusively called by some terminal misconfiguration or something that runs deeper, but I thought I should report it either way.
Adding enterAltScreen(...) does fix the runtime crash, but I don't believe it is functional, as this is how it looks like
I decided to group both issues into one as I assume they are correlated.
Setup:
edit: removed irrelevant error log as it occurs due to stdout piping