projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884964a
)
terminal/screen: mark cursor dirty on enabled/disable
author
David Herrmann
<dh.herrmann@gmail.com>
Fri, 3 Oct 2014 12:30:37 +0000
(14:30 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Fri, 3 Oct 2014 13:57:00 +0000
(15:57 +0200)
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.
src/libsystemd-terminal/term-screen.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-terminal/term-screen.c
b/src/libsystemd-terminal/term-screen.c
index
5b0562e
..
2c881ca
100644
(file)
--- a/
src/libsystemd-terminal/term-screen.c
+++ b/
src/libsystemd-terminal/term-screen.c
@@
-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;