~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847b25b
)
multiprogress.h: Add the right number of zeros to `PROGRESS_TTYINFO_INIT'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2022 00:49:59 +0000
(
00:49
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2022 18:51:16 +0000
(18:51 +0000)
multiprogress.h
patch
|
blob
|
blame
|
history
diff --git
a/multiprogress.h
b/multiprogress.h
index
7d8a6e7
..
a1121eb
100644
(file)
--- a/
multiprogress.h
+++ b/
multiprogress.h
@@
-16,7
+16,8
@@
struct progress_ttyinfo {
} cap;
unsigned defwd, defht; /* default width and height */
};
-#define PROGRESS_TTYINFO_INIT { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
+#define PROGRESS_TTYINFO_INIT \
+ { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 80, 25 }
struct progress_state {
struct progress_ttyinfo tty; /* terminal state */