1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00
wezterm/assets/windows/conhost
Wez Furlong 61e3545c68 pty: windows: allow loading a newer conpty dll
This commit allows loading the console functions from `conpty.dll`
instead of `kernel32.dll` which means that we can update and
track newer features than have been deployed to Windows.

In practical terms this means that we can now unlock mouse input
reporting in eg: VIM running under WSL.
refs: https://github.com/microsoft/terminal/issues/376

We're jumping the gun on this issue, which is tracking making
a proper supportable way to deploy this sort of update:
refs: https://github.com/microsoft/terminal/issues/1130

For now it seems easier just for us to bundle our own copy of
these bits.

This includes a speculative change to include those in our
Windows downloads also.

The binaries were built from
4f8acb4b9f
2020-04-06 12:48:54 -07:00
..
conpty.dll pty: windows: allow loading a newer conpty dll 2020-04-06 12:48:54 -07:00
OpenConsole.exe pty: windows: allow loading a newer conpty dll 2020-04-06 12:48:54 -07:00
README.md pty: windows: allow loading a newer conpty dll 2020-04-06 12:48:54 -07:00

Console Host

This directory contains a copy of built artifacts from the Microsoft Terminal project which is provided by Microsoft under the terms of the MIT license.

Why are they here? At the time of writing, the conpty implementation that ships with windows is lacking support for mouse reporting but that support is available in the opensource project so it is desirable to point to that so that we can enable mouse reporting in wezterm.

It looks like we'll eventually be able to drop this once Windows and/or the build for the terminal project make some more progress.

https://github.com/microsoft/terminal/issues/1130

These assets were built by opening the solution in visual studio 2019 and building the Host.EXE and winconpty.DLL projects.

It's possible that you'll need to download this runtime support package from MS in order for this to work: https://www.microsoft.com/en-us/download/details.aspx?id=53175