aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-08-17 08:20:48 +0800
committerckelsel <ckelsel@hotmail.com>2017-08-17 08:20:48 +0800
commit673fc748237345914e0ad584bc4cba997c96a37e (patch)
tree7f55a3b3dd362fbbc59ff204287a0aae99089e5e /src/nvim/screen.c
parent5d332084e1ca4c29b1ccb90ea44c3b861dac5701 (diff)
parent5b32bce73c93a64970afe0e92e0a8ba2fed88619 (diff)
downloadrneovim-673fc748237345914e0ad584bc4cba997c96a37e.tar.gz
rneovim-673fc748237345914e0ad584bc4cba997c96a37e.tar.bz2
rneovim-673fc748237345914e0ad584bc4cba997c96a37e.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index f8d519ab36..95973354bc 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -7440,13 +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;
@@ -7531,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()) {