Fixing italic bold. Thanks Felipe Spychalski <spychalski@gmail.com> for the patch!
Christoph Lohmann 20h@r-36.net
1 files changed,
7 insertions(+),
2 deletions(-)
jump to
M
st.c
→
st.c
@@ -3149,8 +3149,13 @@ */
if(BETWEEN(base.fg, 0, 7)) fg = &dc.col[base.fg + 8]; - font = &dc.bfont; - frcflags = FRC_BOLD; + if(base.mode & ATTR_ITALIC) { + font = &dc.ibfont; + frcflags = FRC_ITALICBOLD; + } else { + font = &dc.bfont; + frcflags = FRC_BOLD; + } } if(IS_SET(MODE_REVERSE)) {