From 9eee711af7e92500db9a18a285632289084c9471 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Sat, 10 Oct 2015 01:34:35 -0400 Subject: [PATCH] input lines now use echo -n to keep info on the same line --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index a004538..604b8da 100755 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -80,7 +80,7 @@ function notice () { local _message="${@}"; echo "$(_alert notice)"; } function info () { local _message="${@}"; echo "$(_alert info)"; } function debug () { local _message="${@}"; echo "$(_alert debug)"; } function success () { local _message="${@}"; echo "$(_alert success)"; } -function input() { local _message="${@}"; echo "$(_alert input)"; } +function input() { local _message="${@}"; echo -n "$(_alert input)"; } function header() { local _message="========== ${@} ========== "; echo "$(_alert header)"; } # Log messages when verbose is set to "true"