forked from aniani/vim
patch 8.2.3400: ":z!" is not supported
Problem: ":z!" is not supported. Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836) Use display height instead of current window height.
This commit is contained in:
committed by
Bram Moolenaar
parent
deba5eb195
commit
7f2dd1e90c
@@ -3445,7 +3445,7 @@ ex_z(exarg_T *eap)
|
||||
// Vi compatible: ":z!" uses display height, without a count uses
|
||||
// 'scroll'
|
||||
if (eap->forceit)
|
||||
bigness = curwin->w_height;
|
||||
bigness = Rows - 1;
|
||||
else if (!ONE_WINDOW)
|
||||
bigness = curwin->w_height - 3;
|
||||
else
|
||||
|
Reference in New Issue
Block a user