From 679552d6db9771ddbf29bd02eb8392b3f319d4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 21 Jul 2015 17:13:58 +0200 Subject: 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. --- view.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view.h') 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; -- cgit v1.2.3