mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-08-11 16:44:09 +02:00
Fixed Prompt delay for new note
This commit is contained in:
@@ -293,6 +293,7 @@ function ToolsHelp() {
|
|||||||
makeNewNote () {
|
makeNewNote () {
|
||||||
echo -e "Please Choose Relevant Tags (Use Tab for Multi Select)"
|
echo -e "Please Choose Relevant Tags (Use Tab for Multi Select)"
|
||||||
echo -e "\n\t(Press any key to continue)"
|
echo -e "\n\t(Press any key to continue)"
|
||||||
|
read -d '' -s -n1 choice
|
||||||
|
|
||||||
## Choose Tags
|
## Choose Tags
|
||||||
TAGS="$(node "${script_dir}"/tags/yaml-parse.js "${NOTES_DIR}" 2>/dev/null | sort -u| sk -m)"
|
TAGS="$(node "${script_dir}"/tags/yaml-parse.js "${NOTES_DIR}" 2>/dev/null | sort -u| sk -m)"
|
||||||
@@ -304,6 +305,7 @@ makeNewNote () {
|
|||||||
echo "${TAGS}"
|
echo "${TAGS}"
|
||||||
|
|
||||||
echo -e "\nPlease Choose an appropriate directory\n\n"
|
echo -e "\nPlease Choose an appropriate directory\n\n"
|
||||||
|
echo -e "\n\t(Press any key to continue)"
|
||||||
read -d '' -s -n1 choice
|
read -d '' -s -n1 choice
|
||||||
|
|
||||||
## Chose Directory
|
## Chose Directory
|
||||||
|
Reference in New Issue
Block a user