diff --git a/demo.sh b/demo.sh index 09110e2..f97ec71 100644 --- a/demo.sh +++ b/demo.sh @@ -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 "$@"; }