patch 8.0.1330: MS-Windows: job in terminal can't get back to Vim
Problem: MS-Windows: job in terminal can't get back to Vim.
Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
#2360)
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index b3df8ce..2a1972c 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1,4 +1,4 @@
-*terminal.txt* For Vim version 8.0. Last change: 2017 Nov 12
+*terminal.txt* For Vim version 8.0. Last change: 2017 Nov 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -106,6 +106,10 @@
options specifically for the window and buffer. Example: >
au BufWinEnter * if &buftype == 'terminal' | setlocal bufhidden=hide | endif
+Mouse events (click and drag) are passed to the terminal. Mouse move events
+are only passed when Vim itself is receiving them. For a terminal that is
+when 'balloonevalterm' is enabled.
+
Size and color ~
*terminal-size-color*
@@ -335,6 +339,9 @@
version, rename to winpty32.dll and winpty64.dll to match the way Vim was
build.
+Environment variables are used to pass information to the running job:
+ VIM_SERVERNAME v:servername
+
==============================================================================
2. Remote testing *terminal-testing*