[PR #13869] Discard empty command histories before discarding LRU non-empty ones #29802

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

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

State: closed
Merged: Yes


When selecting candidate history, priority is given to histories with empty commands list.

I think lazily calling s_Allocate will require a ton of rewriting. Also I think it is not an unexpended behavior that buffer is allocated when an application connects.

Closes #13571

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13869 **State:** closed **Merged:** Yes --- When selecting candidate history, priority is given to histories with empty commands list. I think lazily calling `s_Allocate` will require a ton of rewriting. Also I think it is not an unexpended behavior that buffer is allocated when an application connects. Closes #13571
claunia added the pull-request label 2026-01-31 09:36:58 +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#29802