core: read from /dev/tty in all interactive prompts | fix empty or cropped logs due build process (#12406)

This commit is contained in:
CanbiZ (MickLesk)
2026-02-28 14:51:26 +01:00
committed by GitHub
parent 16ae89cd88
commit fddc47064d
2 changed files with 124 additions and 76 deletions

View File

@@ -286,7 +286,7 @@ error_handler() {
echo -en "${YW}Remove broken container ${CTID}? (Y/n) [auto-remove in 60s]: ${CL}"
fi
if read -t 60 -r response; then
if read -t 60 -r response </dev/tty; then
if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then
echo ""
if declare -f msg_info >/dev/null 2>&1; then