mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-27 07:03:17 +08:00
dialoguer::Confirm::interact() puts the terminal into raw mode, which causes the prompt to return immediately without waiting for user input in some terminal environments. Replace with std::io::stdin().read_line() which blocks reliably on a full line of input. Also fix the interactive detection to check both stdin and stderr are TTYs (matching the pattern used in gateway_select), and restore the 'volume only' status label and image info in the prompt.