mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 582d22dbae91d306a0c116c31b3f1767087ebb67 parent 88e5aa872cf7e740203b0f7164c6ff365bfc2450 Author: Rob King <jking@deadpixi.com> Date: Fri, 23 Jun 2017 17:07:36 -0500 Revert "Remove screen flash." This reverts commit 09109ecea276c422b7954f4d2774c342cd671cc2. Diffstat:
| M | mtm.c | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/mtm.c b/mtm.c @@ -268,6 +268,10 @@ HANDLER(bell) /* Terminal bell. */ beep(); ENDHANDLER +HANDLER(vbell) /* Terminal visual bell. */ + // XXX flash(); +ENDHANDLER + HANDLER(su) /* SU - Scroll Up/Down */ int c = (w == L'T' || w == L'^')? -P1(0) : P1(0); wscrl(win, c); @@ -758,6 +762,7 @@ setupevents(NODE *n) /* Wire up VT100 sequences. */ vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'M', ri); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'Z', decid); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'c', ris); + vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'g', vbell); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'p', cvis); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'=', numkp); vtparser_onevent(n->vp, VTPARSER_ESCAPE, L'>', numkp);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.