mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
ca3de7b5af
commit
e99441a379
6 changed files with 50 additions and 125 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue