microsoft / microsoft/terminal
Command History (F7) is added to when selected command from the list
@lhecker is already working on this.
Since Nov 25, 2024.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.20.11781.0
### Windows build number
10.0.22631.4037
### Other Software
_No response_
### Steps to reproduce
1. Open a clean command prompt - nothing in the list in F7.
2. Type in a command, e.g. "dir"
3. Type in a second different command, e.g. "dir D*"
4. Press F7 to see the command list - it will contain two commands. Select the first one from the list.
5. Press F7 to see the command list again, it will now contain three commands. This is unexpected.
### 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.