X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.h;h=4652a333fb3bbefa1a232cf77d3b8df5f759ce1b;hb=1cf8b77d2798a43c979b71e16fd45d63b808f569;hp=87db5c218ddb83d19a9cd9c7477421e6d5db2b54;hpb=0ecfcc39b07bb7cca6a688a743299e6ef990e122;p=st.git 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 */