Skip to content

Commit

Permalink
Remove more screen update traffic.
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpixi committed Jul 28, 2019
1 parent 533b659 commit 7a6198c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,8 +744,6 @@ fixcursor(void) /* Move the terminal cursor to the active view. */
curs_set(focused->s->off != focused->s->tos? 0 : focused->s->vis);
getyx(focused->s->win, y, x);
y = MIN(MAX(y, focused->s->tos), focused->s->tos + focused->h - 1);
//wmove(focused->s->win, y, x); XXX
//refreshchildren(focused);
wmove(focused->s->win, y, x);
}
}
Expand Down Expand Up @@ -1125,7 +1123,6 @@ run(void) /* Run MTM. */
getinput(root, &sfds);

refreshchildren(root);
//doupdate(); XXX
fixcursor();
refreshchildren(focused);
doupdate();
Expand Down

0 comments on commit 7a6198c

Please sign in to comment.