summaryrefslogtreecommitdiff
path: root/libui.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libui.sh')
-rw-r--r--libui.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/libui.sh b/libui.sh
index d195673..5e04b4a 100644
--- a/libui.sh
+++ b/libui.sh
@@ -715,9 +715,9 @@ _cli_ask_string_multiple () {
_cli_ask_yesno ()
{
- [ -z "$2" ] && echo -n "$1 (y/n): "
- [ "$2" = yes ] && echo -n "$1 (Y/n): "
- [ "$2" = no ] && echo -n "$1 (y/N): "
+ [ -z "$2" ] && echo -ne "$1 (y/n): "
+ [ "$2" = yes ] && echo -ne "$1 (Y/n): "
+ [ "$2" = no ] && echo -ne "$1 (y/N): "
read answer
answer=`tr '[:upper:]' '[:lower:]' <<< $answer`