0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0739: terminal resizing doesn't work well.

Problem:    Terminal resizing doesn't work well.
Solution:   Resize the terminal to the Vim window and the other way around.
            Avoid mapping typed keys.  Set the environment properly.
This commit is contained in:
Bram Moolenaar
2017-07-20 23:04:46 +02:00
parent e825d8b0a4
commit 58556cd0e5
4 changed files with 82 additions and 19 deletions

View File

@@ -1732,6 +1732,12 @@ typedef struct
int jo_id;
char_u jo_soe_buf[NUMBUFLEN];
char_u *jo_stoponexit;
#ifdef FEAT_TERMINAL
/* when non-zero run the job in a terminal window of this size */
int jo_term_rows;
int jo_term_cols;
#endif
} jobopt_T;