chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
621dbb0
)
terminal/subterm: skip setting parent's cursor
author
David Herrmann
<dh.herrmann@gmail.com>
Sun, 5 Oct 2014 12:47:57 +0000
(14:47 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Sun, 5 Oct 2014 12:47:57 +0000
(14:47 +0200)
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.
src/libsystemd-terminal/subterm.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-terminal/subterm.c
b/src/libsystemd-terminal/subterm.c
index 321cd35f528b5fe1a496fbb9c6d15610831ef759..dda6759709b6fba1fbed593664c27eded5ee109a 100644
(file)
--- 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");
}