commit bfb23058e960881da73a75137bdfddfa7b8deea3
parent 4c77a5fe97263fb846f759a2c6a8bfa656553f1c
Author: Rob King <jking@deadpixi.com>
Date: Tue, 23 Jul 2019 19:01:17 -0500
Fix cursor visibility glitch in alternate screen buffer.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mtm.c b/mtm.c
@@ -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);