Add an additional newline before confirmation.

This commit is contained in:
Michał Górny 2010-08-06 08:29:40 +02:00
parent 633bb44fae
commit b111e8235d

View File

@ -243,7 +243,7 @@ _EOH_
confirm() {
while true; do
local answ
printf '%s' "${WHITE}Commit changes?${RESET} [${BGREEN}Yes${RESET}/${RED}No${RESET}] ${GREEN}" >&2
printf '\n%s' "${WHITE}Commit changes?${RESET} [${BGREEN}Yes${RESET}/${RED}No${RESET}] ${GREEN}" >&2
read answ
printf '%s' "${RESET}"