tFix the cursor colors selection - st - [fork] customized build of st, the simp… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 293f573efd8c1c9cddd319caa7564736aa60639a | |
parent 2ea02c937e3a1810050a5fb9f51e7e522d23af3b | |
Author: Quentin Rameau <[email protected]> | |
Date: Tue, 6 Oct 2015 10:29:44 +0200 | |
Fix the cursor colors selection | |
Signed-off-by: Christoph Lohmann <[email protected]> | |
Diffstat: | |
M st.c | 5 ++--- | |
1 file changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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; | |
} | |
} | |