From 7e39179b7f981ba8e5de231cd14c28e6c962e83a Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Tue, 4 Jul 2023 06:26:49 +1200 Subject: [PATCH] Move to using a safer shell integration default setting (#9600) # Description We're seeing some issues in a few terminals with the shell integration support. Moving shell_integration to off by default to help with the default user experience, but it will remain easy to re-enable for folks who want to have the integration experience and a terminal that supports it well. # User-Facing Changes This turns off shell integration by default, requiring the user to edit the config and re-enable it. # Tests + Formatting # After Submitting --- crates/nu-utils/src/sample_config/default_config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-utils/src/sample_config/default_config.nu b/crates/nu-utils/src/sample_config/default_config.nu index da5e6953d..798b96985 100644 --- a/crates/nu-utils/src/sample_config/default_config.nu +++ b/crates/nu-utils/src/sample_config/default_config.nu @@ -307,7 +307,7 @@ $env.config = { use_ansi_coloring: true bracketed_paste: true # enable bracketed paste, currently useless on windows edit_mode: emacs # emacs, vi - shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue + shell_integration: false # enables terminal shell integration. Off by default, as some terminals have issues with this. render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt. hooks: {