--- Begin Message ---
This is used by some commands like XTGETTCAP.

Signed-off-by: Johannes Altmanninger <aclo...@gmail.com>
---
 vncterm.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/vncterm.c b/vncterm.c
index 0c45a91..3d795d7 100644
--- a/vncterm.c
+++ b/vncterm.c
@@ -1218,6 +1218,7 @@ static void vncterm_putchar(vncTerm *vt, unicode ch) {
             vt->tty_state = ESsquare;
             break;
         case ']':
+        case 'P':
             vt->tty_state = ESnonstd;
             break;
         case '%':
@@ -1256,7 +1257,7 @@ static void vncterm_putchar(vncTerm *vt, unicode ch) {
             break;
         }
         break;
-    case ESnonstd: /* Operating System Controls */
+    case ESnonstd: /* Operating System Command or Device Control String */
         vt->tty_state = ESnormal;
 
         switch (ch) {
@@ -1279,7 +1280,7 @@ static void vncterm_putchar(vncTerm *vt, unicode ch) {
     case ESosc:
         if (ch == 0x9c || ch != 7) {
 #ifdef DEBUG
-            fprintf(stderr, "OSC sequence\n");
+            fprintf(stderr, "OSC/DCS sequence\n");
 #endif
             vt->tty_state = ESnormal;
         }
-- 
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