X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/05c66cb37d9ff278a3e0c45682c4b5e7945deb42..a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a:/st.h?ds=sidebyside diff --git a/st.h b/st.h index 3382d61..27c48cf 100644 --- a/st.h +++ b/st.h @@ -82,8 +82,10 @@ typedef struct { int col; /* nb col */ Line *line; /* screen */ Line *alt; /* alternate screen */ - int *dirty; /* dirtyness of lines */ + int *dirty; /* dirtyness of lines */ TCursor c; /* cursor */ + int ocx; /* old cursor col */ + int ocy; /* old cursor row */ int top; /* top scroll limit */ int bot; /* bottom scroll limit */ int mode; /* terminal mode flags */ @@ -131,6 +133,7 @@ typedef union { void die(const char *, ...); void redraw(void); +void draw(void); void iso14755(const Arg *); void printscreen(const Arg *);