chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.h
index 1a23dd53581354f45d9fdfa324162e54999b7812..081f802356055da65964634fb9f80d9bfd279d2d 100644 (file)
@@ -12,6 +12,9 @@
 
 /*
  * $Log$
+ * Revision 1.6  2008/02/06 17:53:28  james
+ * *** empty log message ***
+ *
  * Revision 1.5  2008/02/06 15:53:22  james
  * *** empty log message ***
  *
@@ -48,6 +51,13 @@ typedef struct
   char csi_buf[VT102_CSI_LEN];
 } VT102_parser;
 
+typedef struct {
+  CRT_Pos pos;
+  int attr;
+  int origin_mode;
+} VT102_State;
+
+
 typedef struct
 {
   CRT_Pos top_margin, bottom_margin;
@@ -59,8 +69,7 @@ typedef struct
   int pending_wrap;
   CRT_Pos pos,current_line;
   
-
-
+  VT102_State saved;
 
   uint8_t modes[VT102_NMODES];
   uint8_t private_modes[VT102_NMODES];
@@ -77,6 +86,7 @@ typedef struct
 #define VT102_PRIVATE_MODE_ORIGIN_MODE         6
 #define VT102_PRIVATE_MODE_AUTO_WRAP           7
 #define VT102_PRIVATE_MODE_AUTO_REPEAT         8
+#define VT102_PRIVATE_MODE_SHOW_CURSOR         25
 
 #define VT102_MODE_KEYBOARD_DISABLE            2
 #define VT102_MODE_INSERT                      4