mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Fix the cursor colors selection
Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
2ea02c937e
commit
293f573efd
1 changed files with 2 additions and 3 deletions
5
st.c
5
st.c
|
@ -3865,13 +3865,12 @@ xdrawcursor(void)
|
||||||
g.fg = defaultcs;
|
g.fg = defaultcs;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
g.fg = defaultfg;
|
|
||||||
if (ena_sel && selected(term.c.x, term.c.y)) {
|
if (ena_sel && selected(term.c.x, term.c.y)) {
|
||||||
g.bg = defaultcs;
|
|
||||||
drawcol = dc.col[defaultrcs];
|
drawcol = dc.col[defaultrcs];
|
||||||
|
g.fg = defaultfg;
|
||||||
|
g.bg = defaultrcs;
|
||||||
} else {
|
} else {
|
||||||
drawcol = dc.col[defaultcs];
|
drawcol = dc.col[defaultcs];
|
||||||
g.bg = defaultrcs;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue