From 8bd6b5b91375f28d1111523acc3b1b18d8aaf392 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Wed, 27 Jul 2022 07:44:05 -0500 Subject: [PATCH] clean up some comments (#6147) --- crates/nu-cli/src/repl.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/crates/nu-cli/src/repl.rs b/crates/nu-cli/src/repl.rs index 39fb4be89c..04181615b9 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -314,22 +314,6 @@ pub fn evaluate_repl( if shell_integration { run_ansi_sequence(RESET_APPLICATION_MODE)?; run_ansi_sequence(PRE_EXECUTE_MARKER)?; - // if let Some(cwd) = stack.get_env_var(engine_state, "PWD") { - // let path = cwd.as_string()?; - // // Try to abbreviate string for windows title - // let maybe_abbrev_path = if let Some(p) = nu_path::home_dir() { - // path.replace(&p.as_path().display().to_string(), "~") - // } else { - // path - // }; - - // // Set window title too - // // https://tldp.org/HOWTO/Xterm-Title-3.html - // // ESC]0;stringBEL -- Set icon name and window title to string - // // ESC]1;stringBEL -- Set icon name to string - // // ESC]2;stringBEL -- Set window title to string - // run_ansi_sequence(&format!("\x1b]2;{}\x07", maybe_abbrev_path))?; - // } } let start_time = Instant::now();