You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm::_interact_on calls Term::read_key in a loop but doesn't break out of the loop if the return value is Key::Unknown, which read_key returns if not connected to a terminal. This causes an infinite loop.
The text was updated successfully, but these errors were encountered:
This also happens when I launch in an external terminal from VS Code on Windows (i.e. "console": "externalTerminal" in launch.json)
What could be the cause ?
This doesn't happen if I run cargo run as a Task in VS Code, or if I run it manually either through cargo or through the .exe file.
Update : The VS Code debugger is caused by this issue on console crate
Confirm::_interact_on
callsTerm::read_key
in a loop but doesn't break out of the loop if the return value isKey::Unknown
, whichread_key
returns if not connected to a terminal. This causes an infinite loop.The text was updated successfully, but these errors were encountered: