summary refs log tree commit diff stats
path: root/ui/console-vc.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-03-19 12:08:42 +0900
committerMarc-André Lureau <marcandre.lureau@redhat.com>2024-03-20 10:27:58 +0400
commite99441a3793b53c21a4087cdc8c4f1a4d77e35e4 (patch)
tree05df93ca5bb8d64550769e884bc3e09242c1c95c /ui/console-vc.c
parentca3de7b5afe9c8ded29b7bc64bcdbaa754d65c50 (diff)
downloadfocaccia-qemu-e99441a3793b53c21a4087cdc8c4f1a4d77e35e4.tar.gz
focaccia-qemu-e99441a3793b53c21a4087cdc8c4f1a4d77e35e4.zip
ui/curses: Do not use console_select()
ui/curses is the only user of console_select(). Move the implementation
to ui/curses.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20240319-console-v2-4-3fd6feef321a@daynix.com>
Diffstat (limited to 'ui/console-vc.c')
-rw-r--r--ui/console-vc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/console-vc.c b/ui/console-vc.c
index f22c8e23c2..899fa11c94 100644
--- a/ui/console-vc.c
+++ b/ui/console-vc.c
@@ -958,10 +958,9 @@ static void vc_chr_set_echo(Chardev *chr, bool echo)
     drv->console->echo = echo;
 }
 
-void qemu_text_console_select(QemuTextConsole *c)
+void qemu_text_console_update_size(QemuTextConsole *c)
 {
     dpy_text_resize(QEMU_CONSOLE(c), c->width, c->height);
-    qemu_text_console_update_cursor();
 }
 
 static void vc_chr_open(Chardev *chr,