Merge pull request #9 from klamonte/x11-cursor-position

X11: blinking cursor
This commit is contained in:
William McBrine
2017-12-06 10:08:49 -05:00
committed by GitHub

View File

@@ -80,6 +80,13 @@ int PDC_display_cursor(int oldrow, int oldcol, int newrow, int newcol,
}
else
{
if ((oldrow == newrow) && (oldcol == newcol))
{
/* Do not send a message because it will cause the blink state
to reset. */
return OK;
}
idx = CURSES_CURSOR;
memcpy(buf, &idx, sizeof(int));