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.
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 480bf3c..1ea7442 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1824,7 +1824,7 @@
EX_RANGE|EX_WHOLEFOLD|EX_REGSTR|EX_COUNT|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,
ADDR_LINES),
EXCMD(CMD_z, "z", ex_z,
- EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,
+ EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,
ADDR_LINES),
// commands that don't start with a letter