commit 9b3b6be35e28fdac587b8973bf8719fe80f74195
parent 87c57b44f44ce1df882ee5836fdeba6ff84d13ed
Author: Rob King <rob@frigidriver.com>
Date: Sun, 21 Jun 2020 23:47:15 -0500
Start with non-app cursor keys to better match screen.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mtm.c b/mtm.c
@@ -414,7 +414,8 @@ HANDLER(ris) /* RIS - Reset to Initial State */
n->decom = s->insert = s->oxenl = s->xenl = n->lnm = false;
CALL(cls);
CALL(sgr0);
- n->am = n->pnm = true;
+ n->am = true;
+ n->pnm = false;
n->pri.vis = n->alt.vis = 1;
n->s = &n->pri;
wsetscrreg(n->pri.win, 0, MAX(SCROLLBACK, n->h) - 1);