aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/grid_defs.h')
-rw-r--r--src/nvim/grid_defs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/grid_defs.h b/src/nvim/grid_defs.h
index 964a71de62..006a07bfb4 100644
--- a/src/nvim/grid_defs.h
+++ b/src/nvim/grid_defs.h
@@ -41,17 +41,17 @@ typedef struct {
unsigned *LineOffset;
char_u *LineWraps;
- // the size of the allocated grid
+ // the size of the allocated grid.
int Rows;
int Columns;
// offsets for the grid relative to the global screen
- int OffsetRow;
- int OffsetColumn;
+ int row_offset;
+ int col_offset;
- // the size expected to be allocated to the internal grid
- int internal_rows;
- int internal_columns;
+ // grid size requested by the UI. Used for window grids only.
+ int requested_rows;
+ int requested_cols;
int was_resized;
} ScreenGrid;