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 c7ed0d1bad
commit 284430538d

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;