mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-11 06:23:47 -05:00
input lines now use echo -n to keep info on the same line
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user