Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
handle tabulation (still not perfect)
[st.git]
/
st.h
diff --git
a/st.h
b/st.h
index
87db5c2
..
4652a33
100644
(file)
--- a/
st.h
+++ b/
st.h
@@
-66,6
+66,8
@@
enum { CRset=1 , CRupdate=2 }; /* Character state */
enum { TMwrap=1 , TMinsert=2 }; /* Terminal mode */
enum { SCupdate, SCredraw }; /* screen draw mode */
+typedef int Color;
+
typedef struct {
char c; /* character code */
char mode; /* attribute flags */