Optimize memory footprint of line buffers - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7ab6c92e18d468968811256e808b02309c160a22
DIR parent 0622ad9badefa985231ddede467d2bd8d94e93e4
HTML Author: suigin <suigin@national.shitposting.agency>
Date: Mon, 27 Apr 2015 10:04:04 +0200
Optimize memory footprint of line buffers
Diffstat:
M st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/st.c b/st.c
@@ -183,8 +183,8 @@ typedef XftColor Color;
typedef struct {
long u; /* character code */
ushort mode; /* attribute flags */
- uint32_t fg; /* foreground */
- uint32_t bg; /* background */
+ ushort fg; /* foreground */
+ ushort bg; /* background */
} Glyph;
typedef Glyph *Line;