diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-20 23:04:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-20 23:04:46 +0200 |
commit | 58556cd0e592cba75bf60310d822a20e41f6b02e (patch) | |
tree | 92803e43d4dced0c306687f3f3f369e3d89cb75d /src/structs.h | |
parent | e825d8b0a4173871272b723f1c1f5b95ee981067 (diff) | |
download | vim-git-58556cd0e592cba75bf60310d822a20e41f6b02e.tar.gz |
patch 8.0.0739: terminal resizing doesn't work well.v8.0.0739
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.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 88e71b60e..5a7f28b79 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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; |