--- Begin Message ---
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 <[email protected]>
---
 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



--- End Message ---
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to