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

Output needs flushing as soon as it get printed #1

Open
Gowee opened this issue Oct 12, 2018 · 0 comments
Open

Output needs flushing as soon as it get printed #1

Gowee opened this issue Oct 12, 2018 · 0 comments

Comments

@Gowee
Copy link

Gowee commented Oct 12, 2018

Hello,

This interpreter is great and useful for me to run malbolge scripts. But I notice that for interactive programs which do not print line feed (\n) in time, the output won't show at all.
I think this problem can be solved by flushing stdout as soon as there is output:

'<' => print!("{}", r_a as u8 as char),

(Stdout and Write::flush.

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