Mercurial > vim
comparison src/evalfunc.c @ 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 | cb501b3c9fb5 |
children | 93b78c4a7cd5 |
comparison
equal
deleted
inserted
replaced
15724:c75264abac54 | 15725:a3e2e7948ee4 |
---|---|
6736 #endif | 6736 #endif |
6737 #if defined(FEAT_TERMINAL) && defined(WIN3264) | 6737 #if defined(FEAT_TERMINAL) && defined(WIN3264) |
6738 else if (STRICMP(name, "terminal") == 0) | 6738 else if (STRICMP(name, "terminal") == 0) |
6739 n = terminal_enabled(); | 6739 n = terminal_enabled(); |
6740 #endif | 6740 #endif |
6741 #if defined(FEAT_TERMINAL) && defined(WIN3264) | |
6742 else if (STRICMP(name, "conpty") == 0) | |
6743 n = use_conpty(); | |
6744 #endif | |
6741 } | 6745 } |
6742 | 6746 |
6743 rettv->vval.v_number = n; | 6747 rettv->vval.v_number = n; |
6744 } | 6748 } |
6745 | 6749 |