mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
This commit is contained in:
parent
af9e248f97
commit
0d88f1ef75
1 changed files with 1 additions and 3 deletions
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)
|
if(base.mode & ATTR_REVERSE)
|
||||||
temp = fg, fg = bg, bg = temp;
|
temp = fg, fg = bg, bg = temp;
|
||||||
|
|
||||||
if(base.mode & ATTR_BOLD) {
|
if(base.mode & ATTR_BOLD)
|
||||||
fg += 8;
|
|
||||||
font = &dc.bfont;
|
font = &dc.bfont;
|
||||||
}
|
|
||||||
|
|
||||||
if(base.mode & ATTR_ITALIC)
|
if(base.mode & ATTR_ITALIC)
|
||||||
font = &dc.ifont;
|
font = &dc.ifont;
|
||||||
|
|
Loading…
Reference in a new issue