pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea02c9
)
Fix the cursor colors selection
author
Quentin Rameau
<quinq@fifth.space>
Tue, 6 Oct 2015 08:29:44 +0000
(10:29 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Tue, 6 Oct 2015 15:36:02 +0000
(17:36 +0200)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
e885a7d
..
01d4410
100644
(file)
--- 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;
}
}