Day 2, I was facing a very hard problem where I fought a bunch of error and successfully compiled the script. It does not work as what I was expecting it to…
I thought it was because I used std.process.cleanExit(io) but after i changed it to std.process.exit(1) the problem persists.
I decided to isolate the code above to a test file to confirm my problem.
Weird….. i isolated related codes together and it works perfectly well in another script. I am now guessing it has something to do with the termios flags I set up.
At the end of the day I only got test.zig to work properly when main.zig was supposed to be the main script
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.