amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Bug] - web console wrongly echoes CSI escape sequences

Open krobelus opened this issue 11 months ago • 5 comments

Describe the bug

The Web Console seems to fail to parse certain CSI escape sequences, and ends up echoing them. This is unfortunate because it causes annoying glitches with programs like text editors and shells that use the kitty keyboard protocol

To Reproduce

  1. In the web console run printf '\x1b[=5u'
  2. See that 5u is echoed.

Expected behavior

Nothing should be echoed, since the string is a CSI-prefixed escape sequence

Additional context Originally reported at https://github.com/fish-shell/fish-shell/issues/10994

krobelus avatar Jan 03 '25 20:01 krobelus

Thanks for the report, I'll reach out to the internal team that owns the console is aware of the issue.

For clarification: are you finding this on "Get system log", "Get instance screenshot", EC2 Serial Console, or EC2 Instance Connect?

stewartsmith avatar Jan 09 '25 19:01 stewartsmith

For clarification: are you finding this on "Get system log", "Get instance screenshot", EC2 Serial Console, or EC2 Instance Connect?

I'm not sure; @munntjlx would know.

krobelus avatar Jan 09 '25 20:01 krobelus

This is more of "incorrect terminal emulation on the web console"

munntjlx avatar Jan 10 '25 16:01 munntjlx

instance connect

munntjlx avatar Jan 10 '25 16:01 munntjlx

Thanks, I've directed that team to this issue.

stewartsmith avatar Jan 10 '25 20:01 stewartsmith