all repos — st @ 091ae143ce09e930fd61dae15f8d613c7eab5a61

st (suckless terminal) config

Fixing the italic-bold font check. Thanks nsz.
Christoph Lohmann 20h@r-36.net
commit

091ae143ce09e930fd61dae15f8d613c7eab5a61

parent

cd90969cab2d980977a76b79f936929834f2bdba

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -2408,7 +2408,7 @@ }

if(base.mode & ATTR_ITALIC) font = &dc.ifont; - if(base.mode & (ATTR_ITALIC|ATTR_ITALIC)) + if(base.mode & (ATTR_ITALIC|ATTR_BOLD)) font = &dc.ibfont; if(IS_SET(MODE_REVERSE)) {