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.
diff --git a/src/structs.h b/src/structs.h
index 444b30d..4030f6d 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1656,6 +1656,7 @@
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