[PR #18010] Stop updating AutoSuggestBox on selection redux #31422

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

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

State: closed
Merged: Yes


I wrote a big comment next to the changes I made.
This is a redo of #17961 which had various issues.

Closes #17916
Closes #18070

Validation Steps Performed

  • Pressing Enter within the input line doesn't crash
  • Type "Cour" and pick Courier New, press Save = Saved
  • Pick any other font from the dropdown, press Save = Saved
  • Picking an option dismisses focus but not to the tab row
  • The first time after launching the SUI, when the setting is still
    unmodified, when you focus the box and pick an option,
    it'll unfocus the box
  • When the setting is unmodified, and you pick the default
    (Cascadia Mono), it'll still unfocus the box
**Original Pull Request:** https://github.com/microsoft/terminal/pull/18010 **State:** closed **Merged:** Yes --- I wrote a big comment next to the changes I made. This is a redo of #17961 which had various issues. Closes #17916 Closes #18070 ## Validation Steps Performed * Pressing Enter within the input line doesn't crash ✅ * Type "Cour" and pick Courier New, press Save = Saved ✅ * Pick any other font from the dropdown, press Save = Saved ✅ * Picking an option dismisses focus but not to the tab row ✅ * The first time after launching the SUI, when the setting is still unmodified, when you focus the box and pick an option, it'll unfocus the box ✅ * When the setting is unmodified, and you pick the default (Cascadia Mono), it'll still unfocus the box ✅
claunia added the pull-request label 2026-01-31 09:47:12 +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#31422