aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-05-12 12:35:48 -0600
committerRandy Palamar <randy@rnpnr.xyz>2024-05-21 20:21:46 -0600
commit486e8631ce9269d34c00c07038e04013640f8825 (patch)
tree2123a90bdc2f564df72d509161b098c95d6aac13 /view.h
parent54b3babf49ac75fce78815ae1d7a19f3def69660 (diff)
downloadvis-486e8631ce9269d34c00c07038e04013640f8825.tar.gz
vis-486e8631ce9269d34c00c07038e04013640f8825.tar.xz
replace UiTerm with Ui & delete function pointers
Diffstat (limited to 'view.h')
-rw-r--r--view.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/view.h b/view.h
index a9ebbc5..79275c8 100644
--- a/view.h
+++ b/view.h
@@ -26,18 +26,6 @@ typedef struct {
Mark cursor;
} SelectionRegion;
-typedef struct {
- char data[16]; /* utf8 encoded character displayed in this cell (might be more than
- one Unicode codepoint. might also not be the same as in the
- underlying text, for example tabs get expanded */
- size_t len; /* number of bytes the character displayed in this cell uses, for
- characters which use more than 1 column to display, their length
- is stored in the leftmost cell whereas all following cells
- occupied by the same character have a length of 0. */
- int width; /* display width i.e. number of columns occupied by this character */
- CellStyle style; /* colors and attributes used to display this cell */
-} Cell;
-
typedef struct Line Line;
struct Line { /* a line on the screen, *not* in the file */
Line *prev, *next; /* pointer to neighbouring screen lines */