aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index e6a2e1f2..efea5106 100644
--- a/terminal.h
+++ b/terminal.h
@@ -28,8 +28,13 @@ struct grid {
int cell_width;
int cell_height;
- int cursor;
+ int linear_cursor;
+ struct {
+ int row;
+ int col;
+ } cursor;
bool print_needs_wrap;
+
struct cell *cells;
uint32_t foreground;