diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-01-26 12:37:38 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-01-27 12:07:06 +0100 |
commit | 30bd1c1e85d2fcffa24a87803bec3070e52c7c7e (patch) | |
tree | 4a959f9ee8a6050bc7755cc169be5079724c574b /src/nvim/buffer_defs.h | |
parent | 2ab70cb55c80b17fb4100dd7f2d056131c02b08b (diff) | |
download | rneovim-30bd1c1e85d2fcffa24a87803bec3070e52c7c7e.tar.gz rneovim-30bd1c1e85d2fcffa24a87803bec3070e52c7c7e.tar.bz2 rneovim-30bd1c1e85d2fcffa24a87803bec3070e52c7c7e.zip |
terminal: handle size when switching buffers in window
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 85043a2a35..076d1dfdc4 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1034,10 +1034,13 @@ struct window_S { int w_width; /* Width of window, excluding separation. */ int w_vsep_width; /* Number of separator columns (0 or 1). */ + // inner size of window, which can be overriden by external UI int w_height_inner; int w_width_inner; + // external UI request. If non-zero, the inner size will use this. int w_height_request; int w_width_request; + /* * === start of cached values ==== */ |