mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 0ea15f96c24a20b6d293bcf15f2e5c6319c34cf5 parent 29db8028f7d5b85d8500f2d19b4825cae8173489 Author: Rob King <jking@deadpixi.com> Date: Sun, 16 Apr 2017 00:08:19 -0500 Added ANSI IRM toggle. Diffstat:
| M | mtm.c | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/mtm.c b/mtm.c @@ -610,6 +610,10 @@ HANDLER(rep) /* REP - Repeat Character */ } ENDHANDLER +HANDLER(flipirm) /* IRM - Toggle Insertion Replacement Mode */ + n->insert = !n->insert; +ENDHANDLER + static void setupevents(NODE *n) /* Wire up escape sequences to functions. */ { @@ -660,6 +664,7 @@ setupevents(NODE *n) /* Wire up escape sequences to functions. */ vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'0', scs); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'1', scs); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'2', scs); + vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'6', flipirm); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'7', sc); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'8', rcordecaln); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'A', scs);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.