aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-21 17:13:58 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-21 18:01:58 +0200
commit679552d6db9771ddbf29bd02eb8392b3f319d4cb (patch)
tree2af606eb8fe1423908366313cdd5fbcdc9c46f45 /view.h
parent38f00e3e8a50e1690dcb78cf1eca8b6befb7173b (diff)
downloadvis-679552d6db9771ddbf29bd02eb8392b3f319d4cb.tar.gz
vis-679552d6db9771ddbf29bd02eb8392b3f319d4cb.tar.xz
ui: further separate curses related user interface code
By now ui-curses.[hc] are the only files dealing directly with curses related functions. Integration of a proper mainloop is still pending.
Diffstat (limited to 'view.h')
-rw-r--r--view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/view.h b/view.h
index 1d10110..0adec05 100644
--- a/view.h
+++ b/view.h
@@ -22,8 +22,9 @@ typedef struct {
occupied by the same character have a length of 0. */
char data[8]; /* utf8 encoded character displayed in this cell might not be the
the same as in the underlying text, for example tabs get expanded */
- bool istab;
unsigned int attr;
+ bool istab;
+ bool selected;
} Cell;
typedef struct Line Line;