1
0
mirror of https://github.com/alrayyes/st synced 2023-11-14 15:56:30 +00:00

Revert "Optimize memory footprint of line buffers"

This reverts commit 7ab6c92e18.
We need 32 bits for real color support.
This commit is contained in:
Roberto E. Vargas Caballero 2015-06-03 08:07:55 +02:00
parent caa97cc781
commit 71fa10f613

4
st.c
View File

@ -191,8 +191,8 @@ typedef XftColor Color;
typedef struct { typedef struct {
Rune u; /* character code */ Rune u; /* character code */
ushort mode; /* attribute flags */ ushort mode; /* attribute flags */
ushort fg; /* foreground */ uint32_t fg; /* foreground */
ushort bg; /* background */ uint32_t bg; /* background */
} Glyph; } Glyph;
typedef Glyph *Line; typedef Glyph *Line;