mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-13 07:41:11 +01:00
Also leave alt buffer on reset
This commit is contained in:
parent
4043ed34ae
commit
e5fcc6553e
1 changed files with 4 additions and 3 deletions
|
@ -160,9 +160,9 @@ pub enum Outcome {
|
|||
|
||||
/// Reset the (terminal) screen.
|
||||
///
|
||||
/// This invokes: [`WindowsCooked`][ClearScreen::WindowsCooked],
|
||||
/// [`WindowsVt`][ClearScreen::WindowsVt], [`VtWellDone`][ClearScreen::VtWellDone],
|
||||
/// and [the default][ClearScreen::default()], in this order.
|
||||
/// This invokes (in order): [`WindowsCooked`][ClearScreen::WindowsCooked],
|
||||
/// [`WindowsVt`][ClearScreen::WindowsVt], [`VtLeaveAlt`][ClearScreen::VtLeaveAlt],
|
||||
/// [`VtWellDone`][ClearScreen::VtWellDone], and [the default][ClearScreen::default()].
|
||||
Reset,
|
||||
|
||||
/// Exit watchexec.
|
||||
|
@ -403,6 +403,7 @@ async fn apply_outcome(
|
|||
for cs in [
|
||||
ClearScreen::WindowsCooked,
|
||||
ClearScreen::WindowsVt,
|
||||
ClearScreen::VtLeaveAlt,
|
||||
ClearScreen::VtWellDone,
|
||||
ClearScreen::default(),
|
||||
] {
|
||||
|
|
Loading…
Reference in a new issue