-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Command History (F7) is added to when selected command from the list #17797
Labels
Area-CookedRead
The cmd.exe COOKED_READ handling
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Conhost
For issues in the Console codebase
Milestone
Comments
DHowett
pushed a commit
that referenced
this issue
Sep 4, 2024
Under ConPTY we don't load any user settings. `SetUpConsole` notes: > If we are [ConPTY], we don't want to load any user settings, > because that could result in some strange rendering results [...] This enables deduplication by default, which I figured wouldn't cause any regressions since it's a user-controllable setting anyway, while it's clearly something the average user wants enabled, for the same reason that PSReadLine has HistoryNoDuplicates enabled by default. Closes #17797 ## Validation Steps Performed * Launch conhost, enter 2 commands, press F7, select the older one, press Enter, press F7. 2 entries ✅ * Launch WT, enter 2 commands, press F7, select the older one, press Enter, press F7. 2 entries ✅ (cherry picked from commit 5fdfd51) Service-Card-Id: PVTI_lADOAF3p4s4AmhmszgSN1FM Service-Version: 1.21
DHowett
pushed a commit
that referenced
this issue
Sep 4, 2024
Under ConPTY we don't load any user settings. `SetUpConsole` notes: > If we are [ConPTY], we don't want to load any user settings, > because that could result in some strange rendering results [...] This enables deduplication by default, which I figured wouldn't cause any regressions since it's a user-controllable setting anyway, while it's clearly something the average user wants enabled, for the same reason that PSReadLine has HistoryNoDuplicates enabled by default. Closes #17797 ## Validation Steps Performed * Launch conhost, enter 2 commands, press F7, select the older one, press Enter, press F7. 2 entries ✅ * Launch WT, enter 2 commands, press F7, select the older one, press Enter, press F7. 2 entries ✅ (cherry picked from commit 5fdfd51) Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgSN1FQ Service-Version: 1.22
As per #18138 I've decided to revert this change for now. |
Discussed a bit as a team. Some notes:
|
DHowett
pushed a commit
that referenced
this issue
Nov 25, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Area-CookedRead
The cmd.exe COOKED_READ handling
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Conhost
For issues in the Console codebase
Windows Terminal version
1.20.11781.0
Windows build number
10.0.22631.4037
Other Software
No response
Steps to reproduce
Expected Behavior
Selecting the command from the command list was previously (in Windows 10 command prompt) the way you issued it to ensure it didn't get added to the history, thus allowing you to maintain a nice tidy command list.
Actual Behavior
Instead it was added to the history.
The text was updated successfully, but these errors were encountered: