[PR #17761] Set the default for autoMarkPrompts to true #31362

Closed
opened 2026-01-31 09:46:47 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/17761

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17761 **State:** closed **Merged:** Yes --- 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
claunia added the pull-request label 2026-01-31 09:46:47 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31362