Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up command history context passed to suggestions UI #17245

Merged
merged 6 commits into from
May 13, 2024

Conversation

zadjii-msft
Copy link
Member

This is fallout from #16937.

  • Typing a command then backspacing the chars then asking for suggestions would think the current commandline ended with spaces, making filtering very hard.
  • The currently typed command would also appear in the command history, which isn't useful.

I actually did TDD for this and wrote the test first, then confirmed again running through the build script, I wasn't hitting any of the earlier issues.

Closes #17241
Closes #17243

This comment has been minimized.

This comment has been minimized.

@zadjii-msft zadjii-msft enabled auto-merge May 13, 2024 13:51
@DHowett DHowett requested a review from lhecker May 13, 2024 16:42
@zadjii-msft zadjii-msft added this pull request to the merge queue May 13, 2024
Merged via the queue into main with commit bf8a647 May 13, 2024
20 checks passed
@zadjii-msft zadjii-msft deleted the dev/migrie/b/17241-sxnui-trailing branch May 13, 2024 18:09
@zadjii-msft zadjii-msft added this to the Terminal v1.22 milestone May 31, 2024
DHowett pushed a commit that referenced this pull request Jun 7, 2024
This is fallout from #16937.

* Typing a command then backspacing the chars then asking for
suggestions would think the current commandline ended with spaces,
making filtering very hard.
* The currently typed command would _also_ appear in the command
history, which isn't useful.

I actually did TDD for this and wrote the test first, then confirmed
again running through the build script, I wasn't hitting any of the
earlier issues.

Closes #17241
Closes #17243

(cherry picked from commit bf8a647)
Service-Card-Id: 92638413
Service-Version: 1.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
3 participants