chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.h
index 0ce734f77e1d985920ad6fe54f232e716818f6e6..7be7d059c8cbdb638da6fb39779439de96981b91 100644 (file)
@@ -12,6 +12,9 @@
 
 /*
  * $Log$
+ * Revision 1.19  2008/02/26 23:23:17  james
+ * *** empty log message ***
+ *
  * Revision 1.18  2008/02/26 19:08:27  james
  * *** empty log message ***
  *
@@ -74,7 +77,9 @@
 #define VT102_CMD_LEN 128
 
 #define VT102_ROWS             24
-#define VT102_COLS             132
+#define VT102_COLS_132         132
+#define VT102_COLS_80          80
+#define VT102_MAX_COLS         VT102_COLS_132
 #define VT102_STATUS_ROW       24
 
 #define VT102_NMODES           32
@@ -117,13 +122,18 @@ typedef struct
   uint8_t modes[VT102_NMODES];
   uint8_t private_modes[VT102_NMODES];
 
-  uint8_t tabs[VT102_COLS];
+  uint8_t tabs[VT102_COLS_132];
 
   int application_keypad_mode;
 
   int last_reg_char;
   int xn_glitch;
 
+  int current_width;
+
+  int g[2];
+  int cs;
+
 } VT102;
 
 #define VT102_PRIVATE_MODE_CURSOR_MODE         1