[PR #12528] [MERGED] Protect the command palette against being paged with no items #29092

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12528
Author: @DHowett
Created: 2/18/2022
Status: Merged
Merged: 2/22/2022
Merged by: @undefined

Base: mainHead: dev/duhowett/cpalcrash


📝 Commits (1)

  • 70379a7 Protect the command palette against being paged with no items

📊 Changes

1 file changed (+10 additions, -5 deletions)

View changed files

📝 src/cascadia/TerminalApp/CommandPalette.cpp (+10 -5)

📄 Description

Fixes two crashes amounting to 14% of our crash burden in Simulated
Selfhost. I can't reproduce this organically, but I was able to do so by
forcing the command palette to be empty.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/12528 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 2/18/2022 **Status:** ✅ Merged **Merged:** 2/22/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/duhowett/cpalcrash` --- ### 📝 Commits (1) - [`70379a7`](https://github.com/microsoft/terminal/commit/70379a7484355678ec7c08b002e6739ff1dc8faa) Protect the command palette against being paged with no items ### 📊 Changes **1 file changed** (+10 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/CommandPalette.cpp` (+10 -5) </details> ### 📄 Description Fixes two crashes amounting to 14% of our crash burden in Simulated Selfhost. I can't reproduce this organically, but I was able to do so by forcing the command palette to be empty. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:32:45 +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#29092