summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-10-05 14:47:57 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-10-05 14:47:57 +0200
commit9ed6e68e52f399c10d7e4d7f29bb0212c422e9e9 (patch)
treec26ed0c361b01997e9cbdc640f2c997ab1b4cb21 /src/libsystemd-terminal
parent621dbb0569ec318e78cfa7c71646b78eee46e8a5 (diff)
terminal/subterm: skip setting parent's cursor
We draw our own cursor in subterm now, so there's no reason to update the cursor-position of the parent terminal on each frame. The parent's cursor is hidden, anyway.
Diffstat (limited to 'src/libsystemd-terminal')
-rw-r--r--src/libsystemd-terminal/subterm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsystemd-terminal/subterm.c b/src/libsystemd-terminal/subterm.c
index 321cd35f52..dda6759709 100644
--- a/src/libsystemd-terminal/subterm.c
+++ b/src/libsystemd-terminal/subterm.c
@@ -482,7 +482,6 @@ static void output_draw_screen(Output *o, term_screen *s) {
term_screen_draw(s, output_draw_cell_fn, o, NULL);
- output_move_to(o, s->cursor_x + 1, s->cursor_y + 3);
output_printf(o, "\e[m");
}