Skip to content
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

Stdio buffering issues #6

Open
suve opened this issue Dec 18, 2019 · 0 comments
Open

Stdio buffering issues #6

suve opened this issue Dec 18, 2019 · 0 comments

Comments

@suve
Copy link
Owner

suve commented Dec 18, 2019

Stdio is read in buffered mode, and then in turn, the interpreter does some buffering of its own on top of the data read. This creates a lot of subtle errors where the interpeter misbehaves, e.g. it's expecting an extra newline and thus blocking on a :readln call.

See if switching to unbuffered stdio will allow to fix this, or come up with some other solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant