diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-08-14 01:26:45 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-08-14 03:09:40 +0200 |
commit | f5938d9bcfdfb92d26a13659b4afe1e77d4df637 (patch) | |
tree | 65e4d4045ee8469b9d1902acc0fc5b14bf1147bf /src | |
parent | 34e5654f2166fea0ae78a6260e8b961be4b07f1d (diff) | |
download | rneovim-f5938d9bcfdfb92d26a13659b4afe1e77d4df637.tar.gz rneovim-f5938d9bcfdfb92d26a13659b4afe1e77d4df637.tar.bz2 rneovim-f5938d9bcfdfb92d26a13659b4afe1e77d4df637.zip |
doc: screen_resize(): remove mention of "mustset"
"mustset" is from Vim term.c:set_shellsize(), not relevant here: we
behave as if mustset=true always.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 0c2c4a9bee..95973354bc 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -7440,11 +7440,7 @@ int number_width(win_T *wp) return n; } -/// Set size of the Vim shell. -/// If 'mustset' is TRUE, we must set Rows and Columns, do not get the real -/// window size (this is used for the :win command). -/// If 'mustset' is FALSE, we may try to get the real window size and if -/// it fails use 'width' and 'height'. +/// Set dimensions of the Nvim application "shell". void screen_resize(int width, int height) { static int busy = FALSE; @@ -7529,8 +7525,8 @@ void screen_resize(int width, int height) --busy; } -// Check if the new shell size is valid, correct it if it's too small or way -// too big. +/// Check if the new Nvim application "shell" dimensions are valid. +/// Correct it if it's too small or way too big. void check_shellsize(void) { if (Rows < min_rows()) { |