diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-24 14:58:54 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:56:26 -0600 |
commit | a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a (patch) | |
tree | a9ce0c1a4dd254ccb71a61a08dc3df54dc4f2814 /st.h | |
parent | 88d8293fb4ba150a5f19d58d133b5db93d9dcfa5 (diff) | |
download | st-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |