aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-17 19:16:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-17 19:16:38 +0000
commita9af8290abfa7b2332b9145698cd0593e7db7364 (patch)
tree06e3361c52b1eb5d8cf9d0f59c37f753a88655d6 /terminal.h
parentmisc: replace all explicit zero-initializers with empty initializers (diff)
parentrender: resize: no need to clear the selection - just truncate if necessary (diff)
Merge branch 'translate-cursor-coords-when-reflowing'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/terminal.h b/terminal.h
index 40088b04..7b7b0182 100644
--- a/terminal.h
+++ b/terminal.h
@@ -101,6 +101,9 @@ struct grid {
int offset;
int view;
+ struct cursor cursor;
+ struct cursor saved_cursor;
+
struct row **rows;
struct row *cur_row;
@@ -278,9 +281,6 @@ struct terminal {
} colors;
enum cursor_origin origin;
- struct cursor cursor;
- struct cursor saved_cursor;
- struct cursor alt_saved_cursor;
enum cursor_style default_cursor_style;
enum cursor_style cursor_style;
struct {