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:
parent
30238acb1b
commit
e020a9f6cd
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user