aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/types.h
diff options
context:
space:
mode:
authorUtkarsh Maheshwari <utkarshme96@gmail.com>2018-06-06 02:59:11 +0530
committerBjörn Linse <bjorn.linse@gmail.com>2018-12-31 12:44:21 +0100
commit01555de2da79eaf6e569e5e6ee7244dbf5f709e5 (patch)
treec4cf93ea7ff63b6282d6ab596d6a155a43f9596f /src/nvim/types.h
parentf102f50ebeca98365b308463c25eb2caffffba51 (diff)
downloadrneovim-01555de2da79eaf6e569e5e6ee7244dbf5f709e5.tar.gz
rneovim-01555de2da79eaf6e569e5e6ee7244dbf5f709e5.tar.bz2
rneovim-01555de2da79eaf6e569e5e6ee7244dbf5f709e5.zip
multigrid: Allow UIs to set grid size different from window size
Diffstat (limited to 'src/nvim/types.h')
-rw-r--r--src/nvim/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/types.h b/src/nvim/types.h
index aa83bc04bf..aa4332fad1 100644
--- a/src/nvim/types.h
+++ b/src/nvim/types.h
@@ -40,7 +40,9 @@ typedef struct {
int OffsetRow;
int OffsetColumn;
- int was_resized;
+ // the size expected to be allocated to the internal grid
+ int internal_rows;
+ int internal_columns;
} ScreenGrid;
#endif // NVIM_TYPES_H