From 5929cd30254b26ed886fab508904c48d1b687a1e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 31 Mar 2019 15:33:20 -0400 Subject: [PATCH] newline in prompt --- mw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mw b/mw index fcf71de..6d2534a 100755 --- a/mw +++ b/mw @@ -304,7 +304,7 @@ pick() { \ [ -z "$input" ] && return 1 title="$(echo "$numbered" | grep "$input" | awk '{print $2}')" [ -z "$title" ] && printf "Invalid response." && return 1 - [ -n "$2" ] && printf "Are you sure you want to %s the \`%s\` account?" "$1" "$title" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null + [ -n "$2" ] && printf "Are you sure you want to %s the \`%s\` account?\\n" "$1" "$title" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null } delete() { sed -i "