Set the default for autoMarkPrompts to true (#17761)

As we discussed in bug bash.

There's really no downside to us enabling it by default (and leaving
showMarksOnScrollbar: false). It'll mark lines as "prompts" when the
user hits enter. This will have a couple good side effects:
* When folks have right-aligned prompts (like, from oh-my-posh), the
`enter` will terminate where shell integration thinks the command is, so
that the right-prompt doesn't end up in the commandline history
* the scrollToMark actions will Just Work without any other shell
integration

Closes #17632
This commit is contained in:
Mike Griese
2024-08-21 17:07:06 -05:00
committed by GitHub
parent 5ff8b80358
commit fd1b1c35b4
2 changed files with 2 additions and 2 deletions

View File

@@ -2855,7 +2855,7 @@
}
},
"autoMarkPrompts": {
"default": false,
"default": true,
"description": "When set to true, prompts will automatically be marked.",
"type": "boolean"
},

View File

@@ -95,7 +95,7 @@ Author(s):
X(bool, RightClickContextMenu, "experimental.rightClickContextMenu", false) \
X(Windows::Foundation::Collections::IVector<winrt::hstring>, BellSound, "bellSound", nullptr) \
X(bool, Elevate, "elevate", false) \
X(bool, AutoMarkPrompts, "autoMarkPrompts", false) \
X(bool, AutoMarkPrompts, "autoMarkPrompts", true) \
X(bool, ShowMarks, "showMarksOnScrollbar", false) \
X(bool, RepositionCursorWithMouse, "experimental.repositionCursorWithMouse", false) \
X(bool, ReloadEnvironmentVariables, "compatibility.reloadEnvironmentVariables", true) \