X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.h;h=27c48cff365563dd308ffe02892e801b03588376;hb=a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a;hp=3382d61e95b9747ea205ca0c8a80c2a7e0b54970;hpb=05c66cb37d9ff278a3e0c45682c4b5e7945deb42;p=st.git 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 *);