reduce size of each glyph for faster copy. - st - Simple Terminal
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cee6ccc6ee21fb6a4e4e04c2727aec26b7d47e07
(DIR) parent b6b90253b88f6787804c5ced60d48e37394512f2
(HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date: Wed, 8 Feb 2012 16:45:52 +0100
reduce size of each glyph for faster copy.
Diffstat:
st.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/st.c b/st.c
@@ -86,10 +86,10 @@ typedef unsigned long ulong;
ttypedef struct {
char c[UTF_SIZ]; /* character code */
- char mode; /* attribute flags */
- int fg; /* foreground */
- int bg; /* background */
- char state; /* state flags */
+ uchar mode; /* attribute flags */
+ uchar fg; /* foreground */
+ uchar bg; /* background */
+ uchar state; /* state flags */
} Glyph;
ttypedef Glyph* Line;