From: Camil Staps Date: Sat, 17 Jun 2017 15:05:02 +0000 (+0000) Subject: Handle escape characters in terminal.sh write X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=a0aa94e16bb6a377e217d8540085402a911fe079;p=liquid-crystal-terminal.git Handle escape characters in terminal.sh write --- diff --git a/terminal.sh b/terminal.sh index 4b7efea..7eb43dd 100755 --- a/terminal.sh +++ b/terminal.sh @@ -62,7 +62,7 @@ backlight () { } write () { - echo -n "${@:1}" > "$PORT" + echo -ne "${@:1}" > "$PORT" } stty -F "$PORT" -crtscts -hupcl "$BAUD"