aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-05-23 19:35:52 -0600
committerRandy Palamar <randy@rnpnr.xyz>2024-05-23 19:35:58 -0600
commit4d38c3a922818159b67bb7bede4b00fb592ee484 (patch)
tree41fa199908505e26bab74548ab09105e7c0db79f /view.h
parente629d491243a7660ad436751ecce1051163f9c78 (diff)
downloadvis-4d38c3a922818159b67bb7bede4b00fb592ee484.tar.gz
vis-4d38c3a922818159b67bb7bede4b00fb592ee484.tar.xz
drop cell_blank from View
No need for this to be stored in every View since its just a never modified cell with a space. Also delete the cell_unused global since all it does is provide a 0 initialized Cell.
Diffstat (limited to 'view.h')
-rw-r--r--view.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/view.h b/view.h
index b159267..63cef3e 100644
--- a/view.h
+++ b/view.h
@@ -54,7 +54,6 @@ typedef struct View {
Text *text; /* underlying text management */
char *textbuf; /* scratch buffer used for drawing */
UiWin *ui; /* corresponding ui window */
- Cell cell_blank; /* used for empty/blank cells */
int width, height; /* size of display area */
size_t start, end; /* currently displayed area [start, end] in bytes from the start of the file */
size_t start_last; /* previously used start of visible area, used to update the mark */