aboutsummaryrefslogtreecommitdiffstats
path: root/src/vt102.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vt102.h')
-rw-r--r--src/vt102.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/vt102.h b/src/vt102.h
index 0ce734f..7be7d05 100644
--- a/src/vt102.h
+++ b/src/vt102.h
@@ -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