aboutsummaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-10 20:13:45 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-10 20:29:58 -0400
commite9961e1879a5a5b53d9d78bc6145b24ed6343093 (patch)
tree308a28fbdc4dd0a4f324ac5fc581a4e9ba0a4f7b /term.h
parent984fccdfb826874d9b191c42ca557788f43ad187 (diff)
downloadrunes-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/term.h b/term.h
index 3993edf..0d00cfb 100644
--- a/term.h
+++ b/term.h
@@ -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[]);