Created
October 13, 2016 22:40
-
-
Save tylerflint/2703f1a60973484a2eaa99c29bd3db35 to your computer and use it in GitHub Desktop.
Test line reset on *nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "+ Building application : " | |
echo " √ Pulling latest docker image " | |
echo " √ Starting docker container " | |
echo " √ Preparing environment for build " | |
echo " √ Installing binaries and runtimes " | |
echo "hey" | |
echo "there" | |
echo "buddy" | |
sleep 1 | |
# move up a line | |
echo -e -n "\x1b[1A\x1b[K" | |
echo -e -n "\x1b[1A\x1b[K" | |
echo -e -n "\x1b[1A\x1b[K" | |
# echo -e -n "\x1b[K" | |
echo "4" | |
echo "5" | |
echo "6" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment