reduce size of each glyph for faster copy.

This commit is contained in:
Aurélien Aptel 2012-02-08 16:45:52 +01:00
parent b6b90253b8
commit cee6ccc6ee

8
st.c
View file

@ -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;