[PR #19133] Add scrollback source for suggestions #31716

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

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

State: closed
Merged: No


Summary of the Pull Request

Adds scroll back source to suggestions

There were 2 things that are different about this from my original screenshot in the feature request.

  • In the feature request I had removed the MaxWidth on the _descriptionsBackdrop so that the control would expand for larger words. This helped for file paths, I decided to remove this change in case it affects the UX of the other sources.
  • In the feature request I had changed the color of the highlights to VsCode blue. When I tried this on a windows 10 machine I realized that the default accent color is blueish and the highlights were no longer visible so I reverted back to not setting the color.

I am not 100% sure on the performance of this. When I list out all of the paths in my home dir and search, the UI stutters in debug mode but doesn't in the release build. (I tried this on a really slow windows 10 machine with the release build and couldn't see any delay).

  • I think listing and searching all the paths in my home dir is close to the worst case scenario, there is a chance that the regex is set to something that brings back every cell as a word, which would cause there to be millions of words but they would be fast to search over.

https://github.com/user-attachments/assets/dfe6df2e-1faf-4fda-be50-76aca402e79e

References and Relevant Issues

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19133 **State:** closed **Merged:** No --- ## Summary of the Pull Request Adds scroll back source to suggestions There were 2 things that are different about this from my original screenshot in the feature request. * In the feature request I had removed the MaxWidth on the _descriptionsBackdrop so that the control would expand for larger words. This helped for file paths, I decided to remove this change in case it affects the UX of the other sources. * In the feature request I had changed the color of the highlights to VsCode blue. When I tried this on a windows 10 machine I realized that the default accent color is blueish and the highlights were no longer visible so I reverted back to not setting the color. I am not 100% sure on the performance of this. When I list out all of the paths in my home dir and search, the UI stutters in debug mode but doesn't in the release build. (I tried this on a really slow windows 10 machine with the release build and couldn't see any delay). - I think listing and searching all the paths in my home dir is close to the worst case scenario, there is a chance that the regex is set to something that brings back every cell as a word, which would cause there to be millions of words but they would be fast to search over. https://github.com/user-attachments/assets/dfe6df2e-1faf-4fda-be50-76aca402e79e ## References and Relevant Issues ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed ## PR Checklist - [ ] Closes #19061 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:49:05 +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#31716