aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.h b/view.h
index 81e82f5..621543e 100644
--- a/view.h
+++ b/view.h
@@ -25,10 +25,10 @@ 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 */
- unsigned int attr;
+ enum UiStyles style;/* style id used to display this cell */
bool selected; /* whether this cell is part of a selected region */
bool cursor; /* whether a cursor is currently located on the cell */
- bool cursor_primary;
+ bool cursor_primary;/* whether it is the primary cursor located on the cell */
} Cell;
typedef struct Line Line;