aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-07 12:07:13 +0200
committerMateja <mail@matejamaric.com>2021-04-07 12:10:49 +0200
commite2c82c598867394b94fe5c96bd1cff93d447daa2 (patch)
treeebf6ca866c9835cb41a7b13b3b33dd18154fc419
parentb5dec9fd5fe53f9e092b140c08677438c07ff252 (diff)
downloadst-e2c82c598867394b94fe5c96bd1cff93d447daa2.tar.gz
st-e2c82c598867394b94fe5c96bd1cff93d447daa2.zip
Applied `bold is not bright` patch.
-rw-r--r--README.md4
-rw-r--r--x.c4
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];