use bash readline for proper backspace support

This commit is contained in:
James Tomasino 2018-01-20 03:21:42 -05:00
parent 1f77d41eb1
commit 9e6032c4cc
1 changed files with 2 additions and 2 deletions

4
burrow
View File

@ -75,7 +75,7 @@ function update_gopher() {
} }
function recipe_new() { 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 == "" ]] if [[ $title == "" ]]
then then
echo "Cancelled." echo "Cancelled."
@ -123,7 +123,7 @@ function recipe_new() {
} }
function phlog_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 == "" ]] if [[ $title == "" ]]
then then
echo "Cancelled." echo "Cancelled."