diff options
author | Quentin Rameau | 2015-10-06 10:29:44 +0200 |
---|---|---|
committer | Christoph Lohmann | 2015-10-06 17:36:02 +0200 |
commit | 293f573efd8c1c9cddd319caa7564736aa60639a (patch) | |
tree | 312aebe57d1921643cff70ed8d5f6890baa1f988 | |
parent | 2ea02c937e3a1810050a5fb9f51e7e522d23af3b (diff) | |
download | st-293f573efd8c1c9cddd319caa7564736aa60639a.tar.gz st-293f573efd8c1c9cddd319caa7564736aa60639a.tar.xz st-293f573efd8c1c9cddd319caa7564736aa60639a.zip |
Fix the cursor colors selection
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r-- | st.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } } |