diff --git a/share/cht.sh.txt b/share/cht.sh.txt index bebc1af..f9ab95c 100755 --- a/share/cht.sh.txt +++ b/share/cht.sh.txt @@ -692,7 +692,7 @@ cmd_stealth() { past=$current current_text="$(echo $current | tr -c '[a-zA-Z0-9]' ' ')" if [ "$(echo "$current_text" | wc -w)" -gt "$STEALTH_MAX_SELECTION_LENGTH" ]; then - echo "\033[0;31mstealth:\033[0m selection length is longer than $STEALTH_MAX_SELECTION_LENGTH words; ignoring" + printf "\033[0;31mstealth:\033[0m selection length is longer than $STEALTH_MAX_SELECTION_LENGTH words; ignoring\n" continue else printf "\n\033[0;31mstealth: \033[7m $current_text\033[0m\n" diff --git a/tests/results/8 b/tests/results/8 index bebc1af..f9ab95c 100644 --- a/tests/results/8 +++ b/tests/results/8 @@ -692,7 +692,7 @@ cmd_stealth() { past=$current current_text="$(echo $current | tr -c '[a-zA-Z0-9]' ' ')" if [ "$(echo "$current_text" | wc -w)" -gt "$STEALTH_MAX_SELECTION_LENGTH" ]; then - echo "\033[0;31mstealth:\033[0m selection length is longer than $STEALTH_MAX_SELECTION_LENGTH words; ignoring" + printf "\033[0;31mstealth:\033[0m selection length is longer than $STEALTH_MAX_SELECTION_LENGTH words; ignoring\n" continue else printf "\n\033[0;31mstealth: \033[7m $current_text\033[0m\n"