aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 08b441d9..ee866b83 100644
--- a/terminal.h
+++ b/terminal.h
@@ -40,8 +40,6 @@ struct damage {
/* DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE */
struct {
- int top_margin;
- int bottom_margin;
int lines;
} scroll;
};
@@ -53,6 +51,13 @@ struct grid {
int cell_width;
int cell_height;
+ /* Scrolling region - counted as lines excluded from scrolling,
+ * from top and from bottom */
+ struct {
+ int start;
+ int end;
+ } scrolling_region;
+
int linear_cursor;
struct {
int row;