diff --git a/guide/crime5/typewrite.sh b/guide/crime5/typewrite.sh index f62f256..0b13666 100644 --- a/guide/crime5/typewrite.sh +++ b/guide/crime5/typewrite.sh @@ -3,7 +3,7 @@ type_text() { local text="$1" local delay="$2" - local i char + local char while IFS= read -r -n1 char; do printf "%b" "$char" @@ -13,5 +13,5 @@ type_text() { printf "\n" } -type_text "\033[3;37mNein… du hast es wirklich geschafft.\033[0m" 0.09 -type_text "\033[3mAber glaub ja nicht, dass ich es dir nun einfacher mache.\033[0m" 0.09 \ No newline at end of file +type_text "$(echo -e "\e[3;37mNein… du hast es wirklich geschafft.\e[0m")" 0.05 +type_text "$(echo -e "\e[3mAber glaub ja nicht, dass ich es dir nun einfacher mache.\e[0m")" 0.05