[PATCH vncterm v2 2/3] Parse more OSC sequences
Johannes Altmanninger
aclopte at gmail.com
Thu Sep 25 08:15:41 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 71baa65..9830f21 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.51.0.167.g6ad8021821.dirty
More information about the pve-devel
mailing list