chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.h
index 081f802356055da65964634fb9f80d9bfd279d2d..2fa56e603afda8f17c608d2ed729585cfb6cb874 100644 (file)
@@ -12,6 +12,9 @@
 
 /*
  * $Log$
+ * Revision 1.7  2008/02/06 20:26:58  james
+ * *** empty log message ***
+ *
  * Revision 1.6  2008/02/06 17:53:28  james
  * *** empty log message ***
  *
@@ -51,7 +54,8 @@ typedef struct
   char csi_buf[VT102_CSI_LEN];
 } VT102_parser;
 
-typedef struct {
+typedef struct
+{
   CRT_Pos pos;
   int attr;
   int origin_mode;
@@ -67,8 +71,8 @@ typedef struct
   CRT crt;
 
   int pending_wrap;
-  CRT_Pos pos,current_line;
-  
+  CRT_Pos pos, current_line;
+
   VT102_State saved;
 
   uint8_t modes[VT102_NMODES];
@@ -76,6 +80,10 @@ typedef struct
 
   uint8_t tabs[VT102_COLS];
 
+  int application_keypad_mode;
+
+  TTY *t;
+
 } VT102;
 
 #define VT102_PRIVATE_MODE_CURSOR_MODE         1
@@ -90,7 +98,7 @@ typedef struct
 
 #define VT102_MODE_KEYBOARD_DISABLE            2
 #define VT102_MODE_INSERT                      4
-#define VT102_PRIVATE_MODE_LOCAL_ECHO_OFF      12
+#define VT102_MODE_LOCAL_ECHO_OFF              12
 #define VT102_MODE_NEWLINE_MODE                        20
 
 #endif /* __VT102_H__ */