patch 8.0.1074: ":term NONE" does not work on MS-Windows
Problem: ":term NONE" does not work on MS-Windows.
Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro
Matsumoto, closes #2058, closes #2045)
diff --git a/src/structs.h b/src/structs.h
index f19377e..772b4e7 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1487,7 +1487,8 @@
PROCESS_INFORMATION jv_proc_info;
HANDLE jv_job_object;
#endif
- char_u *jv_tty_name; /* controlling tty, allocated */
+ char_u *jv_tty_in; /* controlling tty input, allocated */
+ char_u *jv_tty_out; /* controlling tty output, allocated */
jobstatus_T jv_status;
char_u *jv_stoponexit; /* allocated */
int jv_exitval;
@@ -1652,6 +1653,9 @@
/* callback for Netbeans when channel is
* closed */
+#ifdef WIN32
+ int ch_named_pipe; /* using named pipe instead of pty */
+#endif
char_u *ch_callback; /* call when any msg is not handled */
partial_T *ch_partial;
char_u *ch_close_cb; /* call when channel is closed */