diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 22:23:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 22:23:24 +0200 |
commit | 80544007aadb03dc5278a94a3c1baea9e18fdf1f (patch) | |
tree | 112c73b379fe5976a2e8a32d532f3ea71477b191 /bin | |
parent | 4d01ea7a6930a99a46c7e8472eb98d51264e2449 (diff) |
bin/pkg: clear_line: Use escape codes (faster, less code and better for debugging!)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -29,12 +29,7 @@ check_valid () { } clear_line () { - string="\r" - for char in {0..80}; { - string+=' ' - } - string+="\r" - echo -ne $string + echo -ne "\r\e[2K" } # Read local configuration |