mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 08:25:47 +01:00
Remove indentation level in xdrawcursor
This commit is contained in:
parent
98a1085d0e
commit
0392d165d0
1 changed files with 31 additions and 30 deletions
5
st.c
5
st.c
|
@ -3459,8 +3459,10 @@ xdrawcursor(void) {
|
|||
xdraws(term.line[oldy][oldx].c, term.line[oldy][oldx], oldx,
|
||||
oldy, width, sl);
|
||||
|
||||
if(IS_SET(MODE_HIDE))
|
||||
return;
|
||||
|
||||
/* draw the new one */
|
||||
if(!(IS_SET(MODE_HIDE))) {
|
||||
if(xw.state & WIN_FOCUSED) {
|
||||
if(IS_SET(MODE_REVERSE)) {
|
||||
g.mode |= ATTR_REVERSE;
|
||||
|
@ -3492,7 +3494,6 @@ xdrawcursor(void) {
|
|||
}
|
||||
oldx = curx, oldy = term.c.y;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue