mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 04:27:56 +02:00
Enable shell_integration.osc9_9
by default on Windows (#15914)
# Description This sets the value to true by default only on Windows. This is not a legacy code and is used by the Windows Terminal to detect the current directory (explicitly enabling osc7 did not work). Here are the official docs: https://learn.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory # User-Facing Changes Windows users will by default have their terminals properly detect the current working directory without extra configuration/troubleshooting.
This commit is contained in:
@ -17,9 +17,9 @@ impl Default for ShellIntegrationConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
osc2: true,
|
||||
osc7: true,
|
||||
osc7: !cfg!(windows),
|
||||
osc8: true,
|
||||
osc9_9: false,
|
||||
osc9_9: cfg!(windows),
|
||||
osc133: true,
|
||||
osc633: true,
|
||||
reset_application_mode: true,
|
||||
|
Reference in New Issue
Block a user