Mercurial > vim
diff src/structs.h @ 12240:24abce52ad20 v8.0.1000
patch 8.0.1000: cannot open a terminal without running a job in it
commit https://github.com/vim/vim/commit/13ebb03e7520c2c34f93444b0146640ca08e7424
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 26 22:02:51 2017 +0200
patch 8.0.1000: cannot open a terminal without running a job in it
Problem: Cannot open a terminal without running a job in it.
Solution: Make ":terminal NONE" open a terminal with a pty.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 26 Aug 2017 22:15:04 +0200 |
parents | 71e10b81226d |
children | e1f44e4afe67 |
line wrap: on
line diff
--- 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