aboutsummaryrefslogtreecommitdiffstats
path: root/src/vt102.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vt102.h')
-rw-r--r--src/vt102.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/vt102.h b/src/vt102.h
index 2f7867d..2f8d6c1 100644
--- a/src/vt102.h
+++ b/src/vt102.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.17 2008/02/26 16:53:24 james
+ * *** empty log message ***
+ *
* Revision 1.16 2008/02/24 12:22:42 james
* *** empty log message ***
*
@@ -65,27 +68,24 @@
#ifndef __VT102_H__
#define __VT102_H__
-#define VT102_CSI_LEN 128
+#define VT102_CMD_LEN 128
#define VT102_ROWS 24
#define VT102_COLS 80
#define VT102_STATUS_ROW 24
#define VT102_NMODES 32
-#define VT102_DCA_LEN 16
typedef struct
{
int in_escape;
- int in_csi;
- int in_dca;
- int ignore_until_bell;
+ int in_cmd;
- int csi_ptr;
- char csi_buf[VT102_CSI_LEN];
- int dca_ptr;
- char dca_buf[VT102_DCA_LEN];
+ int cmd_ptr;
+ int cmd_more_bytes;
+ int cmd_termination;
+ char cmd_buf[VT102_CMD_LEN];
} VT102_parser;
typedef struct