Skip to content

Commit

Permalink
ttyplot.c: Fix clock animation
Browse files Browse the repository at this point in the history
Regression from merge commit 95467bf:
> # git diff 4901969 95467bf | tail -n6
>
>  redraw_and_continue:
> -        time(&t1);  // to animate the clock display
>          redraw_screen(errstr);
>      }
>
  • Loading branch information
hartwork committed Nov 27, 2023
1 parent c09b513 commit b8417bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ttyplot.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ int main(int argc, char *argv[]) {
td=derivative(&values1[n], two ? &values2[n] : NULL, &now);

redraw_and_continue:
gettimeofday(&now, NULL);
redraw_screen(errstr);
}

Expand Down

0 comments on commit b8417bd

Please sign in to comment.