diff --git a/CHANGELOG.md b/CHANGELOG.md index d44caab..6c712f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,15 @@ ## Next (YYYY-MM-DD) +- Flush after E3 sequence in `Terminfo` ([#4](https://github.com/watchexec/clearscreen/issues/4)). + ## v1.0.6 (2021-07-22) -- Omit unsupported UTF8 input flag on non-Linux +- Omit unsupported UTF8 input flag on non-Linux. ## v1.0.5 (2021-07-22) -- Update to nix 0.22 +- Update to nix 0.22. ## v1.0.4 (2021-05-22) diff --git a/src/lib.rs b/src/lib.rs index a6222b4..db15abc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -447,7 +447,8 @@ impl ClearScreen { } if let Some(seq) = info.get::() { - seq.expand().with(&mut ctx).to(w)?; + seq.expand().with(&mut ctx).to(&mut w)?; + w.flush()?; } } Self::TerminfoScreen => {