|
|
@ -86,10 +86,10 @@ typedef unsigned long ulong;
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
typedef struct {
|
|
|
|
char c[UTF_SIZ]; /* character code */
|
|
|
|
char c[UTF_SIZ]; /* character code */
|
|
|
|
char mode; /* attribute flags */
|
|
|
|
uchar mode; /* attribute flags */
|
|
|
|
int fg; /* foreground */
|
|
|
|
uchar fg; /* foreground */
|
|
|
|
int bg; /* background */
|
|
|
|
uchar bg; /* background */
|
|
|
|
char state; /* state flags */
|
|
|
|
uchar state; /* state flags */
|
|
|
|
} Glyph;
|
|
|
|
} Glyph;
|
|
|
|
|
|
|
|
|
|
|
|
typedef Glyph* Line;
|
|
|
|
typedef Glyph* Line;
|
|
|
|