mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
Optimize memory footprint of line buffers
This commit is contained in:
parent
0622ad9bad
commit
7ab6c92e18
4
st.c
4
st.c
@ -183,8 +183,8 @@ typedef XftColor Color;
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
long u; /* character code */
|
long u; /* character code */
|
||||||
ushort mode; /* attribute flags */
|
ushort mode; /* attribute flags */
|
||||||
uint32_t fg; /* foreground */
|
ushort fg; /* foreground */
|
||||||
uint32_t bg; /* background */
|
ushort bg; /* background */
|
||||||
} Glyph;
|
} Glyph;
|
||||||
|
|
||||||
typedef Glyph *Line;
|
typedef Glyph *Line;
|
||||||
|
Loading…
Reference in New Issue
Block a user