Can't cycle through command history using the down-arrow #18138
Labels
Area-CookedRead
The cmd.exe COOKED_READ handling
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-3
A description (P3)
Product-Conhost
For issues in the Console codebase
Milestone
Windows Terminal version
1.21.2911.0
Windows build number
10.0.22631.4391
Other Software
No response
Steps to reproduce
I used to be able to run
and then press UP ARROW three times to repeat
echo 1
and then DOWN ARROW to cycle throughecho 2
,echo 3
,echo 1
, etc. Now the first DOWN ARROW does nothing.I think both Command Prompt and PowerShell had this behavior. I do know I used that pattern of cycling through the history for Command Prompt quite frequently, but now I find that I must press UP ARROW three times each time I want to cycle through the last three commands. It would be nice to have the old behavior back.
I haven't found any documentation or bug reports that addresses this issue. Thanks in advance for your help.
Expected Behavior
After pressing UP ARROW three times and ENTER to execute the third command back in history, I expected pressing DOWN ARROW followed by ENTER to execute each of the past 3 commands in sequence ad infinitum.
Actual Behavior
After pressing UP ARROW three times and ENTER to execute the third command back in history, pressing DOWN ARROW does nothing. No previous command is recalled from history.
The text was updated successfully, but these errors were encountered: