aboutsummaryrefslogtreecommitdiffstats
path: root/src/vt102.h
diff options
context:
space:
mode:
authorjames <>2008-02-06 20:26:58 +0000
committerjames <>2008-02-06 20:26:58 +0000
commitb4c47719823e9907f6040e1e899b927cbeb8282e (patch)
treecdf78ad3063886c1b6c4e609fea211d06a49793a /src/vt102.h
parente28e963a332cf073fcb511e9b85ee7e6648df1f6 (diff)
downloadsympathy-b4c47719823e9907f6040e1e899b927cbeb8282e.tar.gz
sympathy-b4c47719823e9907f6040e1e899b927cbeb8282e.tar.bz2
sympathy-b4c47719823e9907f6040e1e899b927cbeb8282e.zip
*** empty log message ***
Diffstat (limited to 'src/vt102.h')
-rw-r--r--src/vt102.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/vt102.h b/src/vt102.h
index 081f802..2fa56e6 100644
--- a/src/vt102.h
+++ b/src/vt102.h
@@ -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__ */