-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dos.read/write seems to be buffered #126
Comments
I see your point. This type of handling requires to model some "handler-like" interface in vamos and an implementation for a console handler. I have this topic on my todo list and I keep the ticket around until its done. |
BTW, I have the impression that this was different in older releases of vamos. Maybe it changed with the migration to Python3? |
indeed, buffering output fixed in a1bd072. |
Much better now, thanks. |
Reading from stdin via dos.Read doesn't work as expected.
A read of 10 bytes should block until Return is pressed (newline). Instead it blocks until at least 10 bytes are inserted.
Also dos.Write seems to buffer to stdout. Also newline doesn't flush.
Testcode:
At would also very appreciated if dos.SetMode could be implemented to switch a terminal to raw mode.
The text was updated successfully, but these errors were encountered: