diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-30 23:35:52 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-30 23:35:52 +0200 |
| commit | e6f214b64a6e66b219d73f7de74d4f1dc791ed28 (patch) | |
| tree | 786cacb510f49af77205f4d70fd0c81e5d7b2c91 /gotrc-examples/lower-left-ponysay | |
| parent | update makefile (diff) | |
| download | gates-of-tartaros-e6f214b64a6e66b219d73f7de74d4f1dc791ed28.tar.gz gates-of-tartaros-e6f214b64a6e66b219d73f7de74d4f1dc791ed28.tar.bz2 gates-of-tartaros-e6f214b64a6e66b219d73f7de74d4f1dc791ed28.tar.xz | |
missed to remove on dollar sign
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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 |
