mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
Merge pull request #9 from klamonte/x11-cursor-position
X11: blinking cursor
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user