Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Pull term references out of xdrawcursor
[st.git]
/
st.h
diff --git
a/st.h
b/st.h
index
3382d61
..
27c48cf
100644
(file)
--- a/
st.h
+++ b/
st.h
@@
-82,8
+82,10
@@
typedef struct {
int col; /* nb col */
Line *line; /* screen */
Line *alt; /* alternate screen */
int col; /* nb col */
Line *line; /* screen */
Line *alt; /* alternate screen */
- int *dirty; /* dirtyness of lines */
+ int *dirty;
/* dirtyness of lines */
TCursor c; /* cursor */
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 */
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 die(const char *, ...);
void redraw(void);
+void draw(void);
void iso14755(const Arg *);
void printscreen(const Arg *);
void iso14755(const Arg *);
void printscreen(const Arg *);