Revert "Optimize memory footprint of line buffers" - st - Simple Terminal
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 71fa10f613a22b3e75e0e897ee1be6667be3f449
(DIR) parent caa97cc781ccf29f28c3d9e6683a66eb3f70e2bd
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 3 Jun 2015 08:07:55 +0200
Revert "Optimize memory footprint of line buffers"
This reverts commit 7ab6c92e18d468968811256e808b02309c160a22.
We need 32 bits for real color support.
Diffstat:
st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/st.c b/st.c
@@ -191,8 +191,8 @@ typedef XftColor Color;
ttypedef struct {
Rune u; /* character code */
ushort mode; /* attribute flags */
- ushort fg; /* foreground */
- ushort bg; /* background */
+ uint32_t fg; /* foreground */
+ uint32_t bg; /* background */
} Glyph;
ttypedef Glyph *Line;