diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-10 20:13:45 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-10 20:29:58 -0400 |
commit | e9961e1879a5a5b53d9d78bc6145b24ed6343093 (patch) | |
tree | 308a28fbdc4dd0a4f324ac5fc581a4e9ba0a4f7b /term.h | |
parent | 984fccdfb826874d9b191c42ca557788f43ad187 (diff) | |
download | runes-e9961e1879a5a5b53d9d78bc6145b24ed6343093.tar.gz runes-e9961e1879a5a5b53d9d78bc6145b24ed6343093.zip |
actually track the cursor position ourselves
i'm not sure that using cairo to store the cursor position is safe,
because it's not entirely clear what else can affect it
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,9 @@ struct runes_term { cairo_t *cr; uv_loop_t *loop; + + int row; + int col; }; void runes_term_init(RunesTerm *t, int argc, char *argv[]); |