git.y1.nz

mtm

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

commit dfbaaaabe1272d445d3abc14884910b4f5a53dc7
parent efe75d6898b5e6fb01824ff52f1c54008128caa8
Author: Rob King <jking@deadpixi.com>
Date:   Sun, 19 Feb 2017 00:28:20 -0600

Style fix.

Diffstat:
Mmtm.c11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/mtm.c b/mtm.c @@ -308,12 +308,11 @@ buildcchar(TMTCHAR c) attr_t a = A_NORMAL; wchar_t s[] = {c.c, 0}; - if (c.a.dim) a |= A_DIM; - if (c.a.invisible) a |= A_INVIS; - if (c.a.bold) a |= A_BOLD; - if (c.a.underline) a |= A_UNDERLINE; - if (c.a.blink) a |= A_BOLD; /* nobody likes blinking */ - if (c.a.reverse) a |= A_REVERSE; + if (c.a.dim) a |= A_DIM; + if (c.a.invisible) a |= A_INVIS; + if (c.a.bold || c.a.blink) a |= A_BOLD; + if (c.a.underline) a |= A_UNDERLINE; + if (c.a.reverse) a |= A_REVERSE; setcchar(&r, s, a, TOPAIR(c.a.fg, c.a.bg), NULL); return &r;

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