diff options
Diffstat (limited to 'gotrc-examples/lower-left-ponysay')
| -rw-r--r-- | gotrc-examples/lower-left-ponysay | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gotrc-examples/lower-left-ponysay b/gotrc-examples/lower-left-ponysay index 686535a..4353826 100644 --- a/gotrc-examples/lower-left-ponysay +++ b/gotrc-examples/lower-left-ponysay @@ -13,7 +13,7 @@ function _display pony="$(PONYSAY_SHELL_LINES=5 PONYSAY_KMS_PALETTE="${PALETTE}" ponysay -o <&2)" lines=$(echo "${pony}" | wc -l) height=$(stty size | cut -d ' ' -f 1) - echo -en $'\e['"$(( $height - $lines + 1 ));1H" + echo -en '\e['"$(( $height - $lines + 1 ));1H" echo -n "$(echo "${pony}" | sed -e 's:\x1b\[H\x1b\[2J::')${PALETTE}" echo -e "\e[H\e[${ANSI_COLOR}m${NAME} (${tty})\e[00m" echo |
