[PR #16107] Don't end the current mark, if we get one of the same kind #30837

Open
opened 2026-01-31 09:43:17 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


If you're already in the "output" state, then an app requesting an "output" mark probably shouldn't end the current mark and start a new one. It should just keep on keepin' on.

The decision to end the previous one was arbitrary in the first place, so let's arbitrarily change it back.

Especially noticable if you hit Enter during a command, because the auto-mark prompt work will do a CommandEnd, so long-running commands will get broken into multiple marks 🥲

**Original Pull Request:** https://github.com/microsoft/terminal/pull/16107 **State:** closed **Merged:** Yes --- If you're already in the "output" state, then an app requesting an "output" mark probably shouldn't end the current mark and start a new one. It should just keep on keepin' on. The decision to end the previous one was arbitrary in the first place, so let's arbitrarily change it back. Especially noticable if you hit <kbd>Enter</kbd> during a command, because the auto-mark prompt work will do a CommandEnd, so long-running commands will get broken into multiple marks 🥲
claunia added the pull-request label 2026-01-31 09:43:17 +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#30837