patch 8.0.1684: ml_get errors when using terminal window for shell command
Problem: ml_get errors when using terminal window for shell command.
(Blay263)
Solution: Do not change the size of the current window.
diff --git a/src/terminal.c b/src/terminal.c
index 69b3306..a65fc00 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -225,8 +225,8 @@
* at the command line and scroll up as needed, using tl_toprow. */
term->tl_rows = Rows;
term->tl_cols = Columns;
+ return;
}
- else
#endif
if (*curwin->w_p_tms != NUL)
{