1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

terminal/screen: mark cursor dirty on enabled/disable

If we hide or show the cursor, we change visual attributes and have to
mark the underlying cell as dirty. Otherwise, the terminal will not be
redrawn.
This commit is contained in:
David Herrmann 2014-10-03 14:30:37 +02:00
parent 884964a963
commit 2ea8d19b21

View File

@ -419,6 +419,7 @@ static void screen_mode_change(term_screen *screen, unsigned int mode, bool dec,
* TODO
*/
set_reset(screen, TERM_FLAG_HIDE_CURSOR, !set);
screen_age_cursor(screen);
}
break;