amethyst / amethyst/bracket-lib

Crossterm backend not properly flushing after print

Abierto
#365 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
1.7k
Forks
126
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.