st
simple terminal
git clone https://9o.is/git/st.git
commit 8c21c3c528dd8251cec02903b5ef1c538869a8a0 parent 92e065b7e555c19b4d3391000f4693ea487abb55 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 70d2fa78e69de7ba9558457ac2df4274bc0d98a3. We need 32 bits for real color support. Diffstat:
| M | st.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c @@ -191,8 +191,8 @@ typedef XftColor Color; typedef struct { Rune u; /* character code */ ushort mode; /* attribute flags */ - ushort fg; /* foreground */ - ushort bg; /* background */ + uint32_t fg; /* foreground */ + uint32_t bg; /* background */ } Glyph; typedef Glyph *Line;