mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit d0db6c5fa3b85b8bb29f50d6b1b8fb6ae8fa5845 parent dd1dcc2f2c4f58a9db5810c5b41c632741bcf35e Author: Rob King <jking@deadpixi.com> Date: Thu, 25 Jul 2019 21:56:36 -0500 Don't override existing colors. Diffstat:
| M | mtm.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mtm.c b/mtm.c @@ -431,7 +431,7 @@ HANDLER(sgr) /* SGR - Select Graphic Rendition */ if (!argc) CALL(sgr0); - short bg = 0, fg = 0; + short bg = s->bg, fg = s->fg; for (int i = 0; i < argc; i++) switch (P0(i)){ case 0: CALL(sgr0); break; case 1: wattron(win, A_BOLD); break;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.