|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 9ed6e68e52f399c10d7e4d7f29bb0212c422e9e9 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: David Herrmann <dh.herrmann@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Sun, 5 Oct 2014 14:47:57 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] terminal/subterm: skip setting parent's cursor
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
We draw our own cursor in subterm now, so there's no reason to update the
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
cursor-position of the parent terminal on each frame. The parent's cursor
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
is hidden, anyway.
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/libsystemd-terminal/subterm.c | 1 -
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/libsystemd-terminal/subterm.c b/src/libsystemd-terminal/subterm.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index 321cd35f52..dda6759709 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/libsystemd-terminal/subterm.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/libsystemd-terminal/subterm.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -482,7 +482,6 @@ static void output_draw_screen(Output *o, term_screen *s) {
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
term_screen_draw(s, output_draw_cell_fn, o, NULL);
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- output_move_to(o, s->cursor_x + 1, s->cursor_y + 3);
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
output_printf(o, "\e[m");
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
}
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|