Mercurial > vim
comparison runtime/doc/terminal.txt @ 15725:a3e2e7948ee4 v8.1.0870
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
commit https://github.com/vim/vim/commit/aa5df7e3127dff6b7336df0903f5c569a40eb174
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 3 14:53:10 2019 +0100
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
Problem: Vim doesn't use the new ConPTY support in Windows 10.
Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes https://github.com/vim/vim/issues/3794)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Feb 2019 15:00:08 +0100 |
parents | bc1a8d21c811 |
children | fe57e4f0eac1 |
comparison
equal
deleted
inserted
replaced
15724:c75264abac54 | 15725:a3e2e7948ee4 |
---|---|
226 is to send CTRL-D. | 226 is to send CTRL-D. |
227 E.g. for a shell use "++eof=exit" and | 227 E.g. for a shell use "++eof=exit" and |
228 for Python "++eof=exit()". Special | 228 for Python "++eof=exit()". Special |
229 codes can be used like with `:map`, | 229 codes can be used like with `:map`, |
230 e.g. "<C-Z>" for CTRL-Z. | 230 e.g. "<C-Z>" for CTRL-Z. |
231 | 231 ++winpty Use winpty as the virtual console. |
232 ++conpty Use |ConPTY| as the virtual console. | |
232 If you want to use more options use the |term_start()| | 233 If you want to use more options use the |term_start()| |
233 function. | 234 function. |
234 If you want to split the window vertically, use: > | 235 If you want to split the window vertically, use: > |
235 :vertical terminal | 236 :vertical terminal |
236 < Or short: > | 237 < Or short: > |
408 | 409 |
409 Just put the files somewhere in your PATH. You can set the 'winptydll' option | 410 Just put the files somewhere in your PATH. You can set the 'winptydll' option |
410 to point to the right file, if needed. If you have both the 32-bit and 64-bit | 411 to point to the right file, if needed. If you have both the 32-bit and 64-bit |
411 version, rename to winpty32.dll and winpty64.dll to match the way Vim was | 412 version, rename to winpty32.dll and winpty64.dll to match the way Vim was |
412 build. | 413 build. |
414 *ConPTY* | |
415 On more recent versions of MS-Windows 10 (beginning with the "October 2018 | |
416 Update"), winpty is no longer required. On those versions, |:terminal| will use | |
417 Windows' built-in support for hosting terminal applications, "ConPTY". When | |
418 ConPTY is in use, there may be rendering artifacts regarding ambiguous-width | |
419 characters. If you encounter any such issues, set 'termmode' to winpty (which | |
420 you then must have instlled). | |
413 | 421 |
414 Environment variables are used to pass information to the running job: | 422 Environment variables are used to pass information to the running job: |
415 VIM_SERVERNAME v:servername | 423 VIM_SERVERNAME v:servername |
416 | 424 |
417 ============================================================================== | 425 ============================================================================== |