patch 8.2.3764: cannot see any text when window was made zero lines

Problem:    Cannot see any text when window was made zero lines or zero
            columns.
Solution:   Ensure there is at least one line and column. (fixes #9307)
diff --git a/src/window.c b/src/window.c
index 47fb815..b54813f 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5518,6 +5518,18 @@
 }
 
 /*
+ * Make the current window show at least one line and one column.
+ */
+    void
+win_ensure_size()
+{
+    if (curwin->w_height == 0)
+	win_setheight(1);
+    if (curwin->w_width == 0)
+	win_setwidth(1);
+}
+
+/*
  * Set current window height and take care of repositioning other windows to
  * fit around it.
  */