all repos — st @ 293f573efd8c1c9cddd319caa7564736aa60639a

st (suckless terminal) config

Fix the cursor colors selection

Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau quinq@fifth.space
commit

293f573efd8c1c9cddd319caa7564736aa60639a

parent

2ea02c937e3a1810050a5fb9f51e7e522d23af3b

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

jump to
M st.cst.c

@@ -3865,13 +3865,12 @@ drawcol = dc.col[defaultrcs];

g.fg = defaultcs; } } else { - g.fg = defaultfg; if (ena_sel && selected(term.c.x, term.c.y)) { - g.bg = defaultcs; drawcol = dc.col[defaultrcs]; + g.fg = defaultfg; + g.bg = defaultrcs; } else { drawcol = dc.col[defaultcs]; - g.bg = defaultrcs; } }