git.y1.nz

mtm

Ncurses-based terminal multiplexer
download: https://git.y1.nz/archives/mtm.tar.gz
Files | Log | Refs

commit 735179a26f2b8b425b3d646fd01c14592540054f
parent d999262f7e4731bdb10c083ef29274bb373d3b8a
Author: Rob King <jking@deadpixi.com>
Date:   Fri, 23 Jun 2017 17:45:52 -0500

Remove ECH.

Diffstat:
Mmtm.c8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git a/mtm.c b/mtm.c @@ -265,13 +265,6 @@ HANDLER(ich) /* ICH - Insert Character */ wins_nwstr(win, L" ", 1); ENDHANDLER -HANDLER(ech) /* ECH - Erase Character */ - chtype s[] = {COLOR_PAIR(0) | ' ', 0}; - for (int i = 0; i < P1(0); i++) - mvwaddchnstr(win, y, x + i, s, 1); - wmove(win, y, x); -ENDHANDLER - HANDLER(cuu) /* CUU - Cursor Up */ wmove(win, MAX(y - P1(0), n->top), x); ENDHANDLER @@ -563,7 +556,6 @@ setupevents(NODE *n) vtparser_onevent(n->vp, VTPARSER_CSI, L'L', idl); vtparser_onevent(n->vp, VTPARSER_CSI, L'M', idl); vtparser_onevent(n->vp, VTPARSER_CSI, L'P', dch); - vtparser_onevent(n->vp, VTPARSER_CSI, L'X', ech); vtparser_onevent(n->vp, VTPARSER_CSI, L'@', ich); vtparser_onevent(n->vp, VTPARSER_CSI, L'`', hpa); vtparser_onevent(n->vp, VTPARSER_CSI, L'a', hpr);

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.