-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
more
command doesn't advance to the next screen of text if I press spacebar
#15116
Comments
Aahhhh. This could be an OpenConsole crash? Can you check to see whether there's still an OpenConsole instance running for that terminal tab? (The renderer is still working, evidenced by the cursor flashing.) /cc @lhecker for potential buffer impact |
Thanks for taking a look! OpenConsole is still running per Task Manager. |
I am hitting this issue as well, 100% consistent repro (on 1.18.902.0.) Pressing ctrl+break gets me 'unstuck' but all other key presses seem to be ignored. |
I wonder if this is from the linefeed changes in #14874 |
This also happens in OpenConsole...! |
Broken in a build made on 2023 day 81. |
This is a regression caused by 599b550. If I'm reading `stream.cpp` in cf87590 right, it returns `STATUS_SUCCESS` if `ReadCharacterInput` read at least 1 character. I think? this PR makes the code behave exactly equivalent. The old code is a bit of an "acquired taste" so it's a bit hard to tell. Closes #15116 ## PR Checklist * Run `more long_text_file.txt` in cmd * Press Spacebar * Scrolls down ✅ * Press Q * Exits ✅
Windows Terminal version
1.18.902.0
Windows build number
10.0.23432.1000
Other Software
I tested this in cmd and PowerShell (version info below):
Steps to reproduce
foo.txt
), try usingmore foo.txt
to view the file's contents, one screenful at a time.Expected Behavior
The Terminal advances to the next page of text.
Actual Behavior
The Terminal remains at the current screen; I see the cursor flashing as normal. I also can't Ctrl+C out of this.
I don't see this behavior in retail Terminal (version 1.16.10262.0)-
more
behaves as I would expect there.The text was updated successfully, but these errors were encountered: