Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Feb 27, 2025
1 parent f3af264 commit e350b3a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions zip-content/inc/common-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3025,6 +3025,8 @@ write_separator_line()

_live_setup_key_test()
{
local _count

ui_msg_empty_line
if test "${INPUT_FROM_TERMINAL:?}" = 'true'; then
ui_msg 'Using: read'
Expand All @@ -3035,9 +3037,13 @@ _live_setup_key_test()
fi
ui_msg_empty_line

while :; do
choose 'Press any key' '' ''
_count=0
while test "${_count:?}" -lt 10 && _count="$((_count + 1))"; do
choose "${_count:?}) Press any key" '' ''
done

deinitialize
exit 0
}

_live_setup_choice_msg()
Expand Down

0 comments on commit e350b3a

Please sign in to comment.