diff options
| author | Sanzhar Kuandyk <92693103+SanzharKuandyk@users.noreply.github.com> | 2026-02-28 18:21:13 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 08:21:13 -0500 |
| commit | b40ca5a01c39c2acf10ff8bcca9db18b3336540c (patch) | |
| tree | f8af55d9bff284cb26b4e17ad5b1e01b310e6caa /runtime/syntax/python.vim | |
| parent | 5943a81fe79a0d9a639af88452050a5056e9027d (diff) | |
| download | rneovim-b40ca5a01c39c2acf10ff8bcca9db18b3336540c.tar.gz rneovim-b40ca5a01c39c2acf10ff8bcca9db18b3336540c.tar.bz2 rneovim-b40ca5a01c39c2acf10ff8bcca9db18b3336540c.zip | |
fix(channel): support :detach, :restart on Windows #37977
fix: allocate hidden console for detached server
Starting the server with UV_PROCESS_DETACHED results in DETACHED_PROCESS, leaving the child without a console. Without a console:
CONIN$ / CONOUT$ cannot resolve, causing channel_from_stdio to fail.
ConPTY cannot attach, breaking :terminal.
This patch allocates a hidden console via AllocConsole() when the server has none, restoring working stdio and enabling ConPTY.
Also updates os_set_cloexec to clear HANDLE_FLAG_INHERIT on the RPC pipe
handles, matching the Unix F_DUPFD_CLOEXEC behavior.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions