term: add a 'cursor' (position) to the search state

This commit is contained in:
Daniel Eklöf 2019-08-29 21:02:35 +02:00
parent bffa1f05ac
commit 27da0d7f28
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;