Skip to content

Output needs flushing as soon as it get printed #1

@Gowee

Description

@Gowee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions