@samitouri / QOSamiQemu / commits / 8502b70f6e

ui/console-vc: fix comment shift-out/in comments

14 is shift-out 15 is shift-in Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>

Marc-André Lureau committed Feb 22, 2026 at 23:57 UTC 8502b70f6e4fff1dbfefd4cb8206a5274fe36cce
1 file changed +2 -2
ui/console-vc.c
+2 -2
@@ -785,10 +785,10 @@ static void vc_putchar(VCChardev *vc, int ch)
785 /* TODO: has to be implemented */
786 break;
787 case 14:
788 - /* SI (shift in), character set 0 (ignored) */
788 + /* SO (shift out), character set 1 (ignored) */
789 break;
790 case 15:
791 - /* SO (shift out), character set 1 (ignored) */
791 + /* SI (shift in), character set 0 (ignored) */
792 break;
793 case 27: /* esc (introducing an escape sequence) */
794 vc->state = TTY_STATE_ESC;