aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-29 19:02:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-29 19:02:35 +0000
commit27da0d7f287f49a477e5901e979230a2858689ec (patch)
tree425af0204c64052cd407ad6c18e134897e00b333
parentrender: draw_strikeout: use font_baseline() for baseline calculation (diff)
term: add a 'cursor' (position) to the search state
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 948a8f11..d81ff76d 100644
--- a/terminal.h
+++ b/terminal.h
@@ -349,6 +349,7 @@ struct terminal {
wchar_t *buf;
size_t len;
size_t sz;
+ size_t cursor;
int original_view;
bool view_followed_offset;