From 3c3614a12096fdbef24ecbb11941f3189f944a5d Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 29 Jul 2022 08:47:31 -0500 Subject: [PATCH] move application reset mode ansi sequence after cmdline execute (#6153) --- crates/nu-cli/src/repl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cli/src/repl.rs b/crates/nu-cli/src/repl.rs index 04181615b9..5f5ffb28bf 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -312,7 +312,6 @@ pub fn evaluate_repl( } if shell_integration { - run_ansi_sequence(RESET_APPLICATION_MODE)?; run_ansi_sequence(PRE_EXECUTE_MARKER)?; } @@ -429,6 +428,7 @@ pub fn evaluate_repl( // ESC]2;stringBEL -- Set window title to string run_ansi_sequence(&format!("\x1b]2;{}\x07", maybe_abbrev_path))?; } + run_ansi_sequence(RESET_APPLICATION_MODE)?; } } Ok(Signal::CtrlC) => {