X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/0ecfcc39b07bb7cca6a688a743299e6ef990e122..1cf8b77d2798a43c979b71e16fd45d63b808f569:/st.h diff --git a/st.h b/st.h index 87db5c2..4652a33 100644 --- 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 */