[PATCH] ui/gtk: vte: fix sending multiple characeters

2021-02-21 Thread Zack Marvel
with len=1 for each character (SDL sends more than once keystroke). Modify gd_vc_in to call qemu_chr_be_write multiple times if necessary. Buglink: https://bugs.launchpad.net/qemu/+bug/1407808 Signed-off-by: Zack Marvel --- ui/gtk.c | 11 ++- 1 file changed, 10 insertions(+), 1 del

Re: [PATCH] ui/gtk: vte: fix sending multiple characeters

2021-02-21 Thread Zack Marvel
Sorry for the noise. Fixed coding style issue.

[PATCH] ui/gtk: vte: fix sending multiple characeters

2021-02-21 Thread Zack Marvel
with len=1 for each character (SDL sends more than once keystroke). Buglink: https://bugs.launchpad.net/qemu/+bug/1407808 Signed-off-by: Zack Marvel --- ui/gtk.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/gtk.c b/ui/gtk.c index 79dc240120..0311d7d64b 1

Re: [PATCH] hw/char/pl011: fix receiving multiple chars

2021-02-21 Thread Zack Marvel
Peter, Thanks for the quick review. You're right, I misunderstood the API and the bug is in ui/gtk.c. Thanks, Zack M On 2/21/21 8:19 AM, Peter Maydell wrote: On Sun, 21 Feb 2021 at 15:04, Zack Marvel wrote: When using the GTK UI with libvte, multicharacter keystrokes are not

[PATCH] hw/char/pl011: fix receiving multiple chars

2021-02-21 Thread Zack Marvel
/1407808 Signed-off-by: Zack Marvel --- hw/char/pl011.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/char/pl011.c b/hw/char/pl011.c index ea4a4e5235..2ea8fd2685 100644 --- a/hw/char/pl011.c +++ b/hw/char/pl011.c @@ -300,7 +300,9 @@ static void pl011_put_fifo(void