Optimize memory footprint of line buffers - st - Simple Terminal
Log
Files
Refs
README
LICENSE
---
commit 7ab6c92e18d468968811256e808b02309c160a22
parent 0622ad9badefa985231ddede467d2bd8d94e93e4
Author: suigin 
Date:   Mon, 27 Apr 2015 10:04:04 +0200

Optimize memory footprint of line buffers

Diffstat:
  st.c                                |       4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/st.c b/st.c
@@ -183,8 +183,8 @@ typedef XftColor Color;
 ttypedef struct {
         long u;           /* character code */
         ushort mode;      /* attribute flags */
-        uint32_t fg;      /* foreground  */
-        uint32_t bg;      /* background  */
+        ushort fg;        /* foreground  */
+        ushort bg;        /* background  */
 } Glyph;
 
 ttypedef Glyph *Line;