git.y1.nz

mtm

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

commit fc7e5bb5e5ff8e5e416f1f0f6deffc94ecf302a2
parent 5af7eb613d72714441e33ffe47bcfdb66d6d20de
Author: Rob King <jking@deadpixi.com>
Date:   Thu, 20 Apr 2017 11:42:34 -0500

Added italic support.

Diffstat:
Mmtm.c2++
Mmtm.ti2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/mtm.c b/mtm.c @@ -518,10 +518,12 @@ HANDLER(sgr) /* SGR - Select Graphic Rendition */ for (int i = 0; i < argc; i++) switch (P0(i)){ case 0: sgr0(v, p, 0, 0, 0, NULL); break; case 1: wattron(win, A_BOLD); break; + case 3: wattron(win, A_ITALIC); break; case 4: wattron(win, A_UNDERLINE); break; case 5: wattron(win, A_BLINK); break; case 7: wattron(win, A_REVERSE); break; case 8: wattron(win, A_INVIS); break; + case 23: wattroff(win, A_ITALIC); break; case 24: wattroff(win, A_UNDERLINE); break; case 27: wattroff(win, A_REVERSE); break; case 30: n->fg = COLOR_BLACK; doc = true; break; diff --git a/mtm.ti b/mtm.ti @@ -15,7 +15,7 @@ mtm|Micro Terminal Multiplexer, sc=\E7, ind=^J, sgr=\E[0%?%p3%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, hts=\EH, ht=^I, acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, enacs=\E(B\E)0, kend=\E[4~, u6=\E[%i%d;%dR, u7=\E[6n, u8=^F, u9=^E, - op=\E[39;49m, setaf=\E[3%p1%dm, setab=\E[4%p1%dm, + op=\E[39;49m, setaf=\E[3%p1%dm, setab=\E[4%p1%dm, sitm=\E[3m, ritm=\E[23m, mtm-ic|Micro Terminal Multiplexer with insert character, mir@,

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