diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-26 22:02:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-26 22:02:51 +0200 |
commit | 13ebb03e7520c2c34f93444b0146640ca08e7424 (patch) | |
tree | 6a56af98898e32e5aa48fb80fb5fce1248e1ec24 /src/structs.h | |
parent | dde81312b031211752d1fcb8539d79f90f324a2e (diff) |
patch 8.0.1000: cannot open a terminal without running a job in itv8.0.1000
Problem: Cannot open a terminal without running a job in it.
Solution: Make ":terminal NONE" open a terminal with a pty.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 444b30df3d..4030f6d51f 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1656,6 +1656,7 @@ struct channel_S { char_u *ch_close_cb; /* call when channel is closed */ partial_T *ch_close_partial; int ch_drop_never; + int ch_keep_open; /* do not close on read error */ job_T *ch_job; /* Job that uses this channel; this does not * count as a reference to avoid a circular |