a quality of life improvement in scripts...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-07-06 18:28:27 +03:00
parent 6aa2abed1a
commit 3bb4e51d42

View File

@ -139,7 +139,7 @@ while true ; do
else
echo "3) quit."
fi
read -p ": " RES
read -ep ": " RES
case $RES in
# toggle multi mode...
@ -148,7 +148,7 @@ while true ; do
continue
;;
1)
read -p "new description: " TITLE
read -i "${TITLE# - }" -ep "new description: " TITLE
TITLE=" - $TITLE"
continue
;;