handle tabulation (still not perfect)

This commit is contained in:
Aurélien Aptel
2009-05-14 01:03:17 +02:00
parent 28abdd24c7
commit 9364de4c64
2 changed files with 16 additions and 0 deletions

2
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 */