diff options
author | Mateja <mail@matejamaric.com> | 2021-04-07 12:07:13 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-04-07 12:10:49 +0200 |
commit | e2c82c598867394b94fe5c96bd1cff93d447daa2 (patch) | |
tree | ebf6ca866c9835cb41a7b13b3b33dd18154fc419 | |
parent | b5dec9fd5fe53f9e092b140c08677438c07ff252 (diff) | |
download | st-e2c82c598867394b94fe5c96bd1cff93d447daa2.tar.gz st-e2c82c598867394b94fe5c96bd1cff93d447daa2.zip |
Applied `bold is not bright` patch.
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | x.c | 4 |
2 files changed, 3 insertions, 5 deletions
@@ -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: @@ -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]; |