fix windows build

This commit is contained in:
Wez Furlong committed 2022-12-19 15:21:13 -07:00
1 parent 30238acb1b
commit e020a9f6cd
1 file changed
+3 -1
+3 -1
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()
}