amethyst / amethyst/bracket-lib

Crossterm backend not properly flushing after print

未关闭
#365 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
1.7k
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

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).

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。