aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/screen.h b/src/screen.h
index b112de5..b18d2b5 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -57,28 +57,32 @@ struct runes_row {
unsigned char wrapped: 1;
};
-struct runes_screen {
+struct runes_grid {
struct runes_loc cur;
struct runes_loc max;
- struct runes_loc alternate_max;
struct runes_loc saved;
int scroll_top;
int scroll_bottom;
+ int row_count;
+ int row_capacity;
+ int row_top;
+
+ struct runes_row *rows;
+};
+
+struct runes_screen {
+ struct runes_grid *grid;
+ struct runes_grid *alternate;
+
char *title;
size_t title_len;
char *icon_name;
size_t icon_name_len;
- int row_count;
- int row_capacity;
- int row_top;
int row_visible_offset;
- struct runes_row *rows;
- struct runes_row *alternate;
-
struct runes_cell_attrs attrs;
unsigned char hide_cursor: 1;