On Tue, Mar 17, 2026 at 12:50:27PM +0400, Marc-André Lureau wrote:
> 14 is shift-out
> 15 is shift-in

Yep, checked at  https://www.ascii-code.com/

> 
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  ui/console-vc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>

> 
> diff --git a/ui/console-vc.c b/ui/console-vc.c
> index 5eca9a5c004..fae8c8ce768 100644
> --- a/ui/console-vc.c
> +++ b/ui/console-vc.c
> @@ -847,10 +847,10 @@ static void vc_putchar(VCChardev *vc, int ch)
>              /* TODO: has to be implemented */
>              break;
>          case 14:
> -            /* SI (shift in), character set 0 (ignored) */
> +            /* SO (shift out), character set 1 (ignored) */
>              break;
>          case 15:
> -            /* SO (shift out), character set 1 (ignored) */
> +            /* SI (shift in), character set 0 (ignored) */
>              break;
>          case 27:    /* esc (introducing an escape sequence) */
>              vc->state = TTY_STATE_ESC;
> 
> -- 
> 2.53.0
> 
> 

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|


Reply via email to