SetConsoleWindowInfo + cmd/powershell yields invisible prompt #255
Labels
Product-Conhost
For issues in the Console codebase
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Milestone
What you're doing and what's happening:
Steps:
SetConsoleWindowInfo
.cmd.exe
orpowershell.exe
The prompt appears in the console buffer, but the console scrolls down so that the cursor and the prompt are both invisible:
What's wrong / what should be happening instead:
The window should remain at the top of the console buffer, so that the cursor and prompt are still visible.
This issue explains at least some of the winpty breakage reported at microsoft/vscode#57803. Any time the console window moves down, winpty assumes that something has been written to the bottommost line of the window. (e.g. In this case, it sees a window full of blank lines.) The console window is blank, so the winpty terminal output is also blank.
The problem doesn't affect the Python 3.7 REPL. I haven't tested other command-line shells/interpreters.
Test case:
The text was updated successfully, but these errors were encountered: