[vte] parser: Recognise more commands



commit 7d0c6aeaa870b67a3897bd439bb076d5ef376f2d
Author: Christian Persch <chpe src gnome org>
Date:   Sat Oct 23 20:55:15 2021 +0200

    parser: Recognise more commands
    
    Add one sequence from mintty.

 src/parser-seq.py | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/parser-seq.py b/src/parser-seq.py
index 7c600788..c59b3161 100755
--- a/src/parser-seq.py
+++ b/src/parser-seq.py
@@ -86,6 +86,7 @@ class Source(enum.Enum):
     ECMA48 = enum.auto() # eq ISO 6429
     HP     = enum.auto()
     ITERM2 = enum.auto()
+    MINTTY = enum.auto()
     RLOGIN = enum.auto()
     SCO    = enum.auto()
     VTE    = enum.auto()
@@ -103,6 +104,8 @@ class Source(enum.Enum):
              return cls.HP
         elif name.startswith('ITERM'):
             return cls.ITERM2
+        elif name.startswith('MINTTY'):
+            return cls.MINTTY
         elif name.startswith('RLOGIN'):
             return cls.RLOGIN
         elif name.startswith('SCO'):
@@ -723,6 +726,8 @@ sequences = [
             comment='xterm pop SGR stack'),
     seq_CSI('DECSDDT', 'q', intermediates=(Intermediate.CASH,), flags=Flags.NOP,
             comment='select disconnect delay time'),
+    seq_CSI('MINTTY_PROGRESS', 'q', intermediates=(Intermediate.PERCENT,), flags=Flags.NOP,
+            comment='set progress report'),
     seq_CSI('DECSR', 'q', intermediates=(Intermediate.MULT,),
             comment='secure reset'),
     seq_CSI('DECELF', 'q', intermediates=(Intermediate.PLUS,), flags=Flags.NOP,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]