Read prompt input directly from /dev/tty (#16126)

This commit is contained in:
CanbiZ (MickLesk)
2026-07-28 19:45:29 +02:00
committed by GitHub
parent ea6346e4ef
commit 8c4ed519a9

View File

@@ -5337,7 +5337,7 @@ EOF
local response=""
local read_rc
read -t 60 -r response
read -t 60 -r response </dev/tty
read_rc=$?
if [[ $read_rc -eq 0 ]]; then
case "${response:-1}" in