improved handling of automatic enter presses of execute

This commit is contained in:
Kjistóf 2017-10-08 19:49:23 +02:00
parent d41d2b2d6c
commit 72042074cd

View File

@ -13,7 +13,6 @@ function wait()
else
read -rst "$PROMPT_TIMEOUT"
fi
printf "\n"
}
function type()
@ -31,6 +30,7 @@ function execute()
{
prompt
type "$@" && wait
printf "\n"
eval "$@"
}