st
simple terminal
git clone https://9o.is/git/st.git
commit 42ebd58b6cf3a640a7c12643742cd3f45bb5de84 parent 4b4afe15c5b0873cac1a31691cd0e159db1e3c2c Author: Quentin Rameau <quinq@fifth.space> Date: Tue, 6 Oct 2015 10:29:44 +0200 Fix the cursor colors selection Signed-off-by: Christoph Lohmann <20h@r-36.net> Diffstat:
| M | st.c | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/st.c b/st.c @@ -3865,13 +3865,12 @@ xdrawcursor(void) 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; } }