projects
/
shellsnippets
/
shellsnippets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
283abec
)
done_progress_bar shan’t output a newline; fix from ⮡ tarent
author
mirabilos
<t.glaser@tarent.de>
Mon, 27 Mar 2017 12:30:57 +0000
(14:30 +0200)
committer
mirabilos
<t.glaser@tarent.de>
Mon, 27 Mar 2017 12:30:57 +0000
(14:30 +0200)
mksh/progress-bar
patch
|
blob
|
history
diff --git
a/mksh/progress-bar
b/mksh/progress-bar
index
53448a4
..
fbdaeb9
100644
(file)
--- a/
mksh/progress-bar
+++ b/
mksh/progress-bar
@@
-68,7
+68,7
@@
function done_progress_bar {
(( isin_progress_bar )) || return 0
# save position; clear scrolling region;
# go to last line; delete line; restore position
- print "\\e7\\e[0;0r\\e[$nlin_progress_bar;0H\\e[M\\e8"
+ print
-n
"\\e7\\e[0;0r\\e[$nlin_progress_bar;0H\\e[M\\e8"
isin_progress_bar=0
trap - WINCH
trap - EXIT