When launching GVim from within Visual Studio and opening a ConPTY-based terminal, the standard output of the terminal is incorrectly redirected to the Visual Studio Output window instead of the terminal itself.
untitled.png (view on web)This PR addresses the issue by specifying STARTF_USESTDHANDLES in StartupInfo and explicitly setting the standard input/output/error handles to INVALID_HANDLE_VALUE.
While I couldn't find any official Microsoft documentation explicitly covering this behavior, I've verified that several major terminal emulators (Windows Terminal, Alacritty, and WezTerm) use this same approach to handle similar cases.
https://github.com/vim/vim/pull/19589
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()