summaryrefslogtreecommitdiff
path: root/more.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-07-15 12:38:28 -0400
committerJakob Kaivo <jkk@ung.org>2020-07-15 12:38:28 -0400
commit408d8ecbd73cf8dcb4d9af0e3e965534c1aff03f (patch)
tree6eee8c854c6ac26343bdd39c00fb63c1501fb52d /more.h
parent707da08aacb29be4b1b7677768b0206301cf50a0 (diff)
add byte counts for use by =/^G
Diffstat (limited to 'more.h')
-rw-r--r--more.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/more.h b/more.h
index 8e6e723..27e7e7a 100644
--- a/more.h
+++ b/more.h
@@ -14,6 +14,8 @@ struct more_file {
fpos_t *lines;
size_t nlines;
size_t mark[26];
+ size_t nbytes;
+ size_t *bytepos;
char *buf;
size_t nbuf;
};