1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2018-04-10 14:56:18 +02:00
parent 0424958bde
commit 07b46af645
2 changed files with 3 additions and 1 deletions

View File

@@ -225,8 +225,8 @@ set_term_and_win_size(term_T *term)
* 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)
{