aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2018-02-24 14:58:54 -0600
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:56:26 -0600
commita5dc1b46976b2252f9d7bb68f126c4b0f351dd1a (patch)
treea9ce0c1a4dd254ccb71a61a08dc3df54dc4f2814 /st.h
parent88d8293fb4ba150a5f19d58d133b5db93d9dcfa5 (diff)
downloadst-patched-a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a.tar.bz2
st-patched-a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a.tar.xz
st-patched-a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a.zip
Pull term references out of xdrawcursor
Gradually reducing x.c dependency on Term object. Old and new cursor glyph/position are passed to xdrawcursor. (There may be an opportunity to refactor further if we can unify "clear old cursor" and "draw new cursor" functionality.) Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.h')
-rw-r--r--st.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/st.h b/st.h
index 7026de8..27c48cf 100644
--- a/st.h
+++ b/st.h
@@ -82,8 +82,10 @@ typedef struct {
82 int col; /* nb col */ 82 int col; /* nb col */
83 Line *line; /* screen */ 83 Line *line; /* screen */
84 Line *alt; /* alternate screen */ 84 Line *alt; /* alternate screen */
85 int *dirty; /* dirtyness of lines */ 85 int *dirty; /* dirtyness of lines */
86 TCursor c; /* cursor */ 86 TCursor c; /* cursor */
87 int ocx; /* old cursor col */
88 int ocy; /* old cursor row */
87 int top; /* top scroll limit */ 89 int top; /* top scroll limit */
88 int bot; /* bottom scroll limit */ 90 int bot; /* bottom scroll limit */
89 int mode; /* terminal mode flags */ 91 int mode; /* terminal mode flags */