summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/st.c b/st.c
index e885a7d..01d4410 100644
--- 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;
}
}