From 9e6032c4cc283d7fcae001cb4037b04865f6d9cf Mon Sep 17 00:00:00 2001 From: James Tomasino Date: Sat, 20 Jan 2018 03:21:42 -0500 Subject: [PATCH] use bash readline for proper backspace support --- burrow | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/burrow b/burrow index 0fa675b..938cd15 100755 --- a/burrow +++ b/burrow @@ -75,7 +75,7 @@ function update_gopher() { } function recipe_new() { - read -p "What is the name of your recipe: " title + read -e -p "What is the name of your recipe: " title if [[ $title == "" ]] then echo "Cancelled." @@ -123,7 +123,7 @@ function recipe_new() { } function phlog_new() { - read -p "Enter a title for your post: " title + read -e -p "Enter a title for your post: " title if [[ $title == "" ]] then echo "Cancelled."