X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/abe6f3b0e4a76ff80315cf6e958549e8295737d6..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 */