diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-03-19 12:08:42 +0900 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-03-20 10:27:58 +0400 |
| commit | e99441a3793b53c21a4087cdc8c4f1a4d77e35e4 (patch) | |
| tree | 05df93ca5bb8d64550769e884bc3e09242c1c95c /ui/console-vc.c | |
| parent | ca3de7b5afe9c8ded29b7bc64bcdbaa754d65c50 (diff) | |
| download | focaccia-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.c | 3 |
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, |