Also leave alt buffer on reset
This commit is contained in:
parent
4043ed34ae
commit
e5fcc6553e
|
@ -160,9 +160,9 @@ pub enum Outcome {
|
||||||
|
|
||||||
/// Reset the (terminal) screen.
|
/// Reset the (terminal) screen.
|
||||||
///
|
///
|
||||||
/// This invokes: [`WindowsCooked`][ClearScreen::WindowsCooked],
|
/// This invokes (in order): [`WindowsCooked`][ClearScreen::WindowsCooked],
|
||||||
/// [`WindowsVt`][ClearScreen::WindowsVt], [`VtWellDone`][ClearScreen::VtWellDone],
|
/// [`WindowsVt`][ClearScreen::WindowsVt], [`VtLeaveAlt`][ClearScreen::VtLeaveAlt],
|
||||||
/// and [the default][ClearScreen::default()], in this order.
|
/// [`VtWellDone`][ClearScreen::VtWellDone], and [the default][ClearScreen::default()].
|
||||||
Reset,
|
Reset,
|
||||||
|
|
||||||
/// Exit watchexec.
|
/// Exit watchexec.
|
||||||
|
@ -403,6 +403,7 @@ async fn apply_outcome(
|
||||||
for cs in [
|
for cs in [
|
||||||
ClearScreen::WindowsCooked,
|
ClearScreen::WindowsCooked,
|
||||||
ClearScreen::WindowsVt,
|
ClearScreen::WindowsVt,
|
||||||
|
ClearScreen::VtLeaveAlt,
|
||||||
ClearScreen::VtWellDone,
|
ClearScreen::VtWellDone,
|
||||||
ClearScreen::default(),
|
ClearScreen::default(),
|
||||||
] {
|
] {
|
||||||
|
|
Loading…
Reference in New Issue