mirror of https://git.envs.net/envs/burrow.git
use bash readline for proper backspace support
This commit is contained in:
parent
1f77d41eb1
commit
9e6032c4cc
4
burrow
4
burrow
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue