1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 06:54:45 +03:00

fix windows build

This commit is contained in:
Wez Furlong 2022-12-19 15:21:13 -07:00
parent 30238acb1b
commit e020a9f6cd
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -223,7 +223,9 @@ impl LocalDomain {
#[cfg(windows)]
fn is_conpty(&self) -> bool {
self.pty_system
let pty_system = self.pty_system.lock();
let pty_system: &dyn PtySystem = &**pty_system;
pty_system
.downcast_ref::<portable_pty::win::conpty::ConPtySystem>()
.is_some()
}