st

simple terminal

git clone https://9o.is/git/st.git

commit 70d2fa78e69de7ba9558457ac2df4274bc0d98a3
parent fbceabc685d4ea00c833e6ac6114a926671501c8
Author: suigin <suigin@national.shitposting.agency>
Date:   Mon, 27 Apr 2015 10:04:04 +0200

Optimize memory footprint of line buffers

Diffstat:
Mst.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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;