Mercurial > vim
comparison runtime/optwin.vim @ 15746:c017195b121b v8.1.0880
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
commit https://github.com/vim/vim/commit/c6ddce3f2cf6daa3a545405373b661f8a9bccad9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 8 12:47:03 2019 +0100
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Feb 2019 13:00:08 +0100 |
parents | fe57e4f0eac1 |
children | df0426d67bb3 |
comparison
equal
deleted
inserted
replaced
15745:655ee4b0a5cc | 15746:c017195b121b |
---|---|
1 " These commands create the option window. | 1 " These commands create the option window. |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2019 Jan 27 | 4 " Last Change: 2019 Feb 08 |
5 | 5 |
6 " If there already is an option window, jump to that one. | 6 " If there already is an option window, jump to that one. |
7 let buf = bufnr('option-window') | 7 let buf = bufnr('option-window') |
8 if buf >= 0 | 8 if buf >= 0 |
9 let winids = win_findbuf(buf) | 9 let winids = win_findbuf(buf) |
501 call append("$", "termwinkey\tkey that precedes Vim commands in a terminal window") | 501 call append("$", "termwinkey\tkey that precedes Vim commands in a terminal window") |
502 call append("$", "\t(local to window)") | 502 call append("$", "\t(local to window)") |
503 call <SID>OptionL("twk") | 503 call <SID>OptionL("twk") |
504 call append("$", "termwinscroll\tmax number of lines to keep for scrollback in a terminal window") | 504 call append("$", "termwinscroll\tmax number of lines to keep for scrollback in a terminal window") |
505 call append("$", "\t(local to window)") | 505 call append("$", "\t(local to window)") |
506 if has('win32') | |
507 call append("$", "termwintype\ttype of pty to use for a terminal window") | |
508 call <SID>OptionG("twt", &twt) | |
509 endif | |
506 call <SID>OptionL("twsl") | 510 call <SID>OptionL("twsl") |
507 if exists("&winptydll") | 511 if exists("&winptydll") |
508 call append("$", "winptydll\tname of the winpty dynamic library") | 512 call append("$", "winptydll\tname of the winpty dynamic library") |
509 call <SID>OptionG("winptydll", &winptydll) | 513 call <SID>OptionG("winptydll", &winptydll) |
510 endif | 514 endif |