diff --git a/crates/nu-cli/src/repl.rs b/crates/nu-cli/src/repl.rs index 4ecf1cbd2f..718f85f9b6 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -376,7 +376,11 @@ fn loop_iteration(ctx: LoopContext) -> (bool, Stack, Reedline) { .to_string_lossy() .to_string(), )) - .with_cursor_config(cursor_config); + .with_cursor_config(cursor_config) + .with_visual_selection_style(nu_ansi_term::Style { + is_reverse: true, + ..Default::default() + }); perf!("reedline builder", start_time, use_color);