[hackers] [st] Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the || Christoph Lohmann
changeset: 345:ccce96ffa63e
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Tue Oct 02 12:48:55 2012 +0200
files: st.c
description:
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
diff -r e28d3933bd70 -r ccce96ffa63e st.c
--- a/st.c Sun Sep 30 20:23:45 2012 +0200
+++ b/st.c Tue Oct 02 12:48:55 2012 +0200
_AT_@ -2182,10 +2182,8 @@
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;
Received on Tue Oct 02 2012 - 12:51:28 CEST
This archive was generated by hypermail 2.3.0
: Tue Oct 02 2012 - 13:00:20 CEST