Don't send clear screen until we are committed to run.
This commit is contained in:
parent
8fe3c39364
commit
ca9acde238
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360841
|
@ -153,7 +153,6 @@ set_verbose(void)
|
|||
|
||||
if (!isatty(STDIN_FILENO) || ioctl(STDIN_FILENO, TIOCGWINSZ, &wsz))
|
||||
return;
|
||||
printf("\x1b[2J");
|
||||
verbose = 1;
|
||||
t0 = time(NULL);
|
||||
}
|
||||
|
@ -538,6 +537,8 @@ main(int argc, char * const argv[])
|
|||
sz = 0;
|
||||
if (!verbose)
|
||||
report_header(0);
|
||||
else
|
||||
printf("\x1b[2J");
|
||||
n = 0;
|
||||
for (;;) {
|
||||
lp = TAILQ_FIRST(&lumps);
|
||||
|
|
Loading…
Reference in New Issue
Block a user