[PATCH vncterm 3/4] Parse more OSC sequences
Johannes Altmanninger
aclopte at gmail.com
Sat Aug 23 10:17:07 CEST 2025
To reproduce the problem, run in Bash:
$ printf '\x1b]133;A;click_events=1\x07'
Fixes https://bugzilla.proxmox.com/show_bug.cgi?id=6575
Signed-off-by: Johannes Altmanninger <aclopte at gmail.com>
---
vncterm.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/vncterm.c b/vncterm.c
index 83f6bf6..0c45a91 100644
--- a/vncterm.c
+++ b/vncterm.c
@@ -1271,17 +1271,8 @@ static void vncterm_putchar(vncTerm *vt, unicode ch) {
case 'R': /* reset palette */
// fixme: reset_palette(vc);
break;
- case '0':
- case '1':
- case '2':
- case '4':
- vt->tty_state = ESosc;
- break;
default:
-#ifdef DEBUG
- fprintf(stderr, "unhandled OSC %c\n", ch);
-#endif
- vt->tty_state = ESnormal;
+ vt->tty_state = ESosc;
break;
}
break;
--
2.50.1.194.g038143def7
More information about the pve-devel
mailing list