--- 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 <aclo...@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



--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to