9 Commits

Author SHA1 Message Date
lovecraft ea4dd16e5a Windows: fix ConPTY availability and environment inheritance
Remove TOO_OLD_WINSDK guard that blocked ConPTY on all Windows
builds, including Windows 11. The guard was set whenever the MinGW
SDK lacked PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE, but the fallback
definitions provided in the header are correct and CreatePseudoConsole
is resolved at runtime via GetProcAddress regardless.

Fix environment block construction in startProcess: previously built
a partial env block even when the caller only supplied one override
var (e.g. COLORFGBG), stripping PATH and all system variables from
the child process. Now merges the full current process environment
via GetEnvironmentStringsW() and applies caller-supplied vars on top.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 11:10:33 +02:00
Vitaly Petrov f22e91b9ed Add moveToThread support 2019-09-12 19:39:17 +03:00
Vitaly Petrov d8eff445f7 Fix library interface for debug/release 2019-09-10 15:23:06 +03:00
Vitaly Petrov ee704ff229 Fix build on Windows with latest vcpkg 2019-09-06 14:24:06 +03:00
Vitaly Petrov eea2684433 Remove old ConPty stuff, fix Windows build, update submodule 2019-03-20 22:35:16 +03:00
Vitaly Petrov f5bef8489a Add ConPty with anonymous pipes variant from Microsoft/console example 2019-03-17 19:39:43 +03:00
Vitaly Petrov de0992c375 Add example with xterm.js 2019-03-17 00:39:50 +03:00
Vitaly Petrov aa0da13ebd Some simple stuff
Add UnixPty support
2019-03-17 00:39:46 +03:00
Vitaly Petrov dccd557beb Initial commit
Initial after first weekend =)
2019-03-17 00:39:36 +03:00