amethyst / amethyst/bracket-lib

Crossterm backend not properly flushing after print

Open
#365 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.7k
Forks
126
PR merge metrics
No merged PRs in 30d

Description

The crossterm backend doesn't appear to be properly flushing after calls to `print`. The issue is due to partial updates not flushing the stdout output stream. The bug occurs linux, perhaps it doesn't apply to all systems.

I've submitted a PR with a fix. You can also workaround the bug by calling `stdout().flush().expect("Command fail");` in your tick function (although that will only flush the previous frame's buffer I believe, since the actual output happens after the call to tick).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.