fixed wait function (now presses enter automatically) and added execute

This commit is contained in:
Kjistóf 2017-10-08 03:07:32 +02:00
parent 5ac2879344
commit 2ba6689412

View File

@ -13,6 +13,7 @@ function wait()
else
read -rst "$PROMPT_TIMEOUT"
fi
printf "\n"
}
function type()
@ -20,3 +21,6 @@ function type()
printf "$*\n" | simtyping
wait
}
function execute()
{ type "$@" && eval "$@"; }