mirror of
git://git.suckless.org/st
synced 2025-05-12 17:26:31 +01:00
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
This commit is contained in:
parent
b5982e284d
commit
5ef7457266
4
st.c
4
st.c
@ -2182,10 +2182,8 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
|
||||
if(base.mode & ATTR_REVERSE)
|
||||
temp = fg, fg = bg, bg = temp;
|
||||
|
||||
if(base.mode & ATTR_BOLD) {
|
||||
fg += 8;
|
||||
if(base.mode & ATTR_BOLD)
|
||||
font = &dc.bfont;
|
||||
}
|
||||
|
||||
if(base.mode & ATTR_ITALIC)
|
||||
font = &dc.ifont;
|
||||
|
Loading…
x
Reference in New Issue
Block a user