From e2c82c598867394b94fe5c96bd1cff93d447daa2 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 7 Apr 2021 12:07:13 +0200 Subject: Applied `bold is not bright` patch. --- README.md | 4 +++- x.c | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f28ac3d..ee7c6f0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # About this project: -This is my fork of [st][stterm] terminal. +This is my fork of [st][stterm] terminal with following patches applied: + +- bold is not bright ### Build requirements: diff --git a/x.c b/x.c index 210f184..f8e4f99 100644 --- a/x.c +++ b/x.c @@ -1380,10 +1380,6 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i bg = &dc.col[base.bg]; } - /* Change basic system colors [0-7] to bright system colors [8-15] */ - if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7)) - fg = &dc.col[base.fg + 8]; - if (IS_SET(MODE_REVERSE)) { if (fg == &dc.col[defaultfg]) { fg = &dc.col[defaultbg]; -- cgit v1.2.3