update conpty to v1.9.1445.0
refs: https://github.com/microsoft/terminal/issues/376 This also enables as the conpty layer the new win32 mode discussed in https://github.com/wez/wezterm/issues/318 wezterm itself is not able to use this mode yet.
This commit is contained in:
1 parent
030e517b43
commit
b5bfec6510
4 files changed
+5
-1
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -25,6 +25,7 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
* Fixed: OSC 7 (current working directory) now works with paths that contain spaces and other special characters. Thanks to [@Arvedui](https://github.com/Arvedui)! [#799](https://github.com/wez/wezterm/pull/799)
|
||||
* Changed: the homebrew tap is now a Cask that installs to the /Applications directory on macOS. Thanks to [@laggardkernel](https://github.com/laggardkernel)!
|
||||
* New: bold and/or italics are now synthesized for fonts when the matching font is not actually italic or doesn't match the requested weight. [#815](https://github.com/wez/wezterm/issues/815)
|
||||
* Updated: conpty.dll to v1.9.1445.0; fixes color bar artifacts when resizing window and allows win32 console applications to use mouse events
|
||||
|
||||
### 20210502-154244-3f7122cb
|
||||
|
||||
|
||||
@@ -25,6 +25,9 @@ use winapi::um::wincon::COORD;
|
||||
|
||||
pub type HPCON = HANDLE;
|
||||
|
||||
pub const PSEUDOCONSOLE_RESIZE_QUIRK: DWORD = 0x2;
|
||||
pub const PSEUDOCONSOLE_WIN32_INPUT_MODE: DWORD = 0x4;
|
||||
|
||||
shared_library!(ConPtyFuncs,
|
||||
pub fn CreatePseudoConsole(
|
||||
size: COORD,
|
||||
@@ -79,7 +82,7 @@ impl PsuedoCon {
|
||||
size,
|
||||
input.as_raw_handle(),
|
||||
output.as_raw_handle(),
|
||||
0,
|
||||
PSEUDOCONSOLE_RESIZE_QUIRK | PSEUDOCONSOLE_WIN32_INPUT_MODE,
|
||||
&mut con,
|
||||
)
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user