diff options
Diffstat (limited to 'src/ansi.h')
-rw-r--r-- | src/ansi.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.16 2008/03/06 16:49:05 james + * *** empty log message *** + * * Revision 1.15 2008/03/03 06:04:42 james * *** empty log message *** * @@ -83,6 +86,8 @@ typedef struct ANSI_struct ANSI_Parser parser; TTY *terminal; + int eof; + CRT crt; CRT_Pos pos; @@ -97,9 +102,9 @@ typedef struct ANSI_struct FILE *file; int (*dispatch) (struct ANSI_struct *, struct Context_struct *); - void (*update) (struct ANSI_struct *, struct Context_struct *); - void (*one_shot) (struct ANSI_struct *, struct CRT_struct *); - void (*reset) (struct ANSI_struct *, struct CRT_struct *); + int (*update) (struct ANSI_struct *, struct Context_struct *); + int (*one_shot) (struct ANSI_struct *, struct CRT_struct *); + int (*reset) (struct ANSI_struct *, struct CRT_struct *); void (*terminal_reset) (struct ANSI_struct *); void (*close) (struct ANSI_struct *); } ANSI; |