Adding hide terminal cursor patch

This commit is contained in:
bakkeby 2021-06-09 09:54:50 +02:00
parent ba7f4f98e2
commit b0660ecf47
3 changed files with 16 additions and 0 deletions

5
x.c
View file

@ -1995,8 +1995,13 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og)
xdrawglyph(og, ox, oy);
#endif // LIGATURES_PATCH
#if HIDE_TERMINAL_CURSOR_PATCH
if (IS_SET(MODE_HIDE) || !IS_SET(MODE_FOCUSED))
return;
#else
if (IS_SET(MODE_HIDE))
return;
#endif // HIDE_TERMINAL_CURSOR_PATCH
/*
* Select the right color for the right mode.