Closed ladipro closed 5 days ago
cargo
does not do this. Not that that means we shouldn't, necessarily.
If you change this, I hope the change won't take away the ability to type a new command during the build and have that show up at the shell prompt after the build finishes.
We may need two implementations here:
SetConsoleMode
with ENABLE_ECHO_INPUT
disabled?References:
Issue Description
On certain platforms key presses are by default echo'ed to the terminal even when a program is running. I don't believe this is desirable with /tl as it can break the output in a random way.
Steps to Reproduce
Build with /tl on Linux. Hit keys when the build is running.
Expected Behavior
Except for special commands like Ctrl+C, key presses do nothing.
Actual Behavior
Key presses are echoed to console, breaking and interleaving the output. For example when hitting Enter:
Analysis
No response
Versions & Configurations
Reproduces in current main (commit hash 4598629a2493ed6b366ab00d595ecd53a3164b60).