X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fvt102.h;h=e8caf5ed291ca57f3296ad4f2dd12d9b67aa1e0d;hb=3684640e6bdec97cb1b60a34d03e8cde63149215;hp=081f802356055da65964634fb9f80d9bfd279d2d;hpb=47c08dfed55445da7ef0e2c15133822e3cad76af;p=sympathy.git diff --git a/src/vt102.h b/src/vt102.h index 081f802..e8caf5e 100644 --- a/src/vt102.h +++ b/src/vt102.h @@ -12,6 +12,18 @@ /* * $Log$ + * Revision 1.10 2008/02/07 12:16:04 james + * *** empty log message *** + * + * Revision 1.9 2008/02/07 01:57:46 james + * *** empty log message *** + * + * Revision 1.8 2008/02/07 00:39:13 james + * *** empty log message *** + * + * 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 *** * @@ -49,11 +61,14 @@ typedef struct int in_csi; int csi_ptr; char csi_buf[VT102_CSI_LEN]; + int in_scs; } VT102_parser; -typedef struct { +typedef struct +{ CRT_Pos pos; int attr; + int color; int origin_mode; } VT102_State; @@ -64,11 +79,12 @@ typedef struct CRT_Pos screen_start, screen_end; VT102_parser parser; int attr; + int color; 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 +92,10 @@ typedef struct uint8_t tabs[VT102_COLS]; + int application_keypad_mode; + + TTY *tty; + } VT102; #define VT102_PRIVATE_MODE_CURSOR_MODE 1 @@ -90,7 +110,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__ */