Changeset 86e26798966e1a47673b07692d383da0ead63873 for com32/lib/sys/ansi.h
- Timestamp:
- 09/05/09 04:10:23 (3 years ago)
- Children:
- 3dbfcb101d1227e799c0eb070c046628498ecf5a
- Parents:
- 3f86e5ec0954aa2b2da60f007705cbe996820fc4
- git-author:
- H. Peter Anvin <hpa@zytor.com> / 2009-08-13T22:35:28Z-0700
- git-committer:
- Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-09-04T21:10:23Z-0700
- Files:
-
- 1 modified
-
com32/lib/sys/ansi.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
com32/lib/sys/ansi.h
re9b317 r86e267 7 7 8 8 #include <inttypes.h> 9 #include <stdbool.h> 9 10 10 11 #define ANSI_MAX_PARMS 16 … … 28 29 29 30 struct term_state { 30 struct curxy xy;31 int cindex; /* SOH color index */32 int vtgraphics; /* VT graphics on/off */33 int intensity;34 int underline;35 int blink;36 int reverse;37 int fg;38 int bg;39 int autocr;40 struct curxy saved_xy;41 int cursor;42 31 enum ansi_state state; 43 int pvt; /* Private code? */44 32 int nparms; /* Number of parameters seen */ 45 33 int parms[ANSI_MAX_PARMS]; 34 bool pvt; /* Private code? */ 35 struct curxy xy; 36 struct curxy saved_xy; 37 uint8_t cindex; /* SOH color index */ 38 uint8_t fg; 39 uint8_t bg; 40 uint8_t intensity; 41 bool vtgraphics; /* VT graphics on/off */ 42 bool underline; 43 bool blink; 44 bool reverse; 45 bool autocr; 46 bool autowrap; 47 bool cursor; 46 48 }; 47 49
