diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-08 12:47:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-08 12:47:03 +0100 |
commit | c6ddce3f2cf6daa3a545405373b661f8a9bccad9 (patch) | |
tree | 080830ec75202e61d48d27e4e951dc849fe4cbfc /runtime/optwin.vim | |
parent | 0036201a1a096913840d3df8ff08eb58eaae90a6 (diff) |
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conptyv8.1.0880
Problem: MS-Windows: inconsistent selection of winpty/conpty.
Solution: Name option 'termwintype', use ++type argument and "term_pty" for
term_start(). (Hirohito Higashi, closes #3915)
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r-- | runtime/optwin.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index de3cdfb0a5..d929836e74 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2019 Jan 27 +" Last Change: 2019 Feb 08 " If there already is an option window, jump to that one. let buf = bufnr('option-window') @@ -503,6 +503,10 @@ if has("terminal") call <SID>OptionL("twk") call append("$", "termwinscroll\tmax number of lines to keep for scrollback in a terminal window") call append("$", "\t(local to window)") + if has('win32') + call append("$", "termwintype\ttype of pty to use for a terminal window") + call <SID>OptionG("twt", &twt) + endif call <SID>OptionL("twsl") if exists("&winptydll") call append("$", "winptydll\tname of the winpty dynamic library") |