-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
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.
Needs-Discussion
Something that requires a team discussion before we can proceed
Needs-Tag-Fix
Doesn't match tag requirements
Product-Conhost
For issues in the Console codebase
Milestone
Comments
MogHughson
added
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
labels
Aug 24, 2024
zadjii-msft
added
Product-Conhost
For issues in the Console codebase
Area-CookedRead
The cmd.exe COOKED_READ handling
labels
Aug 26, 2024
zadjii-msft
removed
the
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
label
Aug 28, 2024
microsoft-github-policy-service
bot
added
the
Needs-Tag-Fix
Doesn't match tag requirements
label
Aug 28, 2024
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
lhecker
added
Needs-Discussion
Something that requires a team discussion before we can proceed
and removed
In-PR
This issue has a related PR
labels
Nov 21, 2024
As per #18138 I've decided to revert this change for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-CookedRead
The cmd.exe COOKED_READ handling
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Discussion
Something that requires a team discussion before we can proceed
Needs-Tag-Fix
Doesn't match tag requirements
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: