[pve-devel] [PATCH vncterm 1/3] also detect empty first parameter of escape codes

Dominik Csapak d.csapak at proxmox.com
Tue Feb 28 12:06:37 CET 2017


some escape codes can omit the first parameter
eg. ESC[;5H

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 vncterm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vncterm.c b/vncterm.c
index be66a3e..baaa379 100644
--- a/vncterm.c
+++ b/vncterm.c
@@ -1354,6 +1354,7 @@ vncterm_putchar (vncTerm *vt, unicode ch)
       }
       break;
     } else if (ch == ';') {
+      vt->esc_has_par = 1;
       vt->esc_count++;
       break;
     } else {
-- 
2.1.4





More information about the pve-devel mailing list