mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +01:00
Ensure all data is written to stdout in play
This commit is contained in:
@@ -20,7 +20,7 @@ pub fn play(input: impl io::Read) -> Result<()> {
|
||||
thread::sleep(Duration::from_micros(diff as u64));
|
||||
}
|
||||
|
||||
stdout.write(data.as_bytes())?;
|
||||
stdout.write_all(data.as_bytes())?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user