This is an alternative solution for #3946.
I think that the current version of ConPTY is still unstable especially for CJK users. So, I think that the default pty type should be winpty for now.
My proposal is:
I also found a bug in the version detection of ConPTY in vim.exe.
It wrongly detects that Win10 1703 supports ConPTY, because dyn_conpty_init() uses has_vtp_working() to detect the Windows version. I created a new function has_conpty_working() to properly detect the availability of ConPTY.
Note: The definition of CONPTY_STABLE_BUILD should be updated when the next version of Windows 10 is released.
https://github.com/vim/vim/pull/3949
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
Merging #3949 into master will increase coverage by
0.01%.
The diff coverage isn/a.
@@ Coverage Diff @@ ## master #3949 +/- ## ========================================== + Coverage 78.9% 78.91% +0.01% ========================================== Files 105 105 Lines 142143 142143 ========================================== + Hits 112153 112172 +19 + Misses 29990 29971 -19
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/terminal.c | 75.16% <ø> (ø) |
⬆️ |
| src/channel.c | 83.08% <0%> (-0.08%) |
⬇️ |
| src/window.c | 83.46% <0%> (ø) |
⬆️ |
| src/ex_cmds2.c | 84.98% <0%> (+0.09%) |
⬆️ |
| src/gui_gtk_x11.c | 48.47% <0%> (+0.09%) |
⬆️ |
| src/sign.c | 92.65% <0%> (+0.13%) |
⬆️ |
| src/netbeans.c | 27.29% <0%> (+0.22%) |
⬆️ |
| src/gui.c | 58.57% <0%> (+0.51%) |
⬆️ |
| src/if_xcmdsrv.c | 84.02% <0%> (+0.53%) |
⬆️ |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 5382f12...f7d1eac. Read the comment docs.
Thank you so very much! Tears came out seriously.
And I'm sorry. I will do my best again.
With ConPTY, the cursor can not be erased right now. Therefore, one patch can not be put out.
I will submit it as soon as I can confirm the correct operation.
Sounds good. One extra situation: If winpty is not installed, then use
ConPTY if available, any version.
Done!