Intermittently unable to exit pager after git log
#16748
Labels
Area-Input
Related to input processing (key presses, mouse, etc.)
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.19.240130002
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce
mkdir winterm-pager-repro; cd winterm-pager-repro; invoke-expression 'git init'; for($i = 0; $i -le 50; $i++) { echo 'abc' >> testfile.txt; invoke-expression 'git add .'; invoke-expression "git commit -m "test commit $i"'; }
q
to exit pager and get back to prompt. please try this 10-15 times. this doesnt happen consistently but its happens consistently when tried multiple times.Expected Behavior
upon hitting 'q', pager should exit and I should be back on the command prompt.
Actual Behavior
upon hitting 'q' to exit pager, command prompt doesn't reappear. only option is to open a new tab/instance.
in the image below, I should be able to hit q and get back to the prompt
when i hit 'q', the terminal gets stuck. there cursor continues to blink (not captured in screenshot below) but terminal doesnt respond to any key press. it is not frozen because i can select text with my mouse, close/open new tabs.
Few things I have tried to isolate the issue:
The text was updated successfully, but these errors were encountered: