Skip to content

Commit

Permalink
Fix cursor visibility glitch in alternate screen buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpixi committed Jul 24, 2019
1 parent 4c77a5f commit bfb2305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ HANDLER(ris) /* RIS - Reset to Initial State */
n->decom = s->insert = s->oxenl = s->xenl = n->lnm = false;
CALL(cls);
n->am = n->pnm = true;
s->vis = 1;
n->pri.vis = n->alt.vis = 1;
n->s = &n->pri;
wsetscrreg(n->pri.win, 0, MAX(SCROLLBACK, n->h) - 1);
wsetscrreg(n->alt.win, 0, n->h - 1);
Expand Down

0 comments on commit bfb2305

Please sign in to comment.