From ec2593efb8b25d121a34c6ac5268d9170d341927 Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Sun, 17 Dec 2023 20:20:31 -0800 Subject: [PATCH] nu-cli repl get_command_finished_marker() does not need to be pub (#11362) ```rust fn get_command_finished_marker ``` does not need to be public so just doing a little code cleanup --- 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 48014e68e..ac2dc8778 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -773,7 +773,7 @@ fn map_nucursorshape_to_cursorshape(shape: NuCursorShape) -> Option String { +fn get_command_finished_marker(stack: &Stack, engine_state: &EngineState) -> String { let exit_code = stack .get_env_var(engine_state, "LAST_EXIT_CODE") .and_then(|e| e.as_i64().ok());