From b4c47719823e9907f6040e1e899b927cbeb8282e Mon Sep 17 00:00:00 2001 From: james <> Date: Wed, 6 Feb 2008 20:26:58 +0000 Subject: *** empty log message *** --- src/vt102.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/vt102.h') 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__ */ -- cgit v1.2.3