The zbox library developed by jessrud implements termio for zig. However its has not been kept up to date by jessrud. You can clone a working copy from github.com/edt-xx/zbox.git I used it while learning zig writing the life program at github/edt-xx
I tried to use zbox for a project. However I was unsatisfied with its input handling, so I hand-rolled the UI, since that seemed a lot simpler than fixing zbox. That's what inspired this article.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse
Take off every Zig!