mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
fix windows build
This commit is contained in:
parent
1a73a2feaa
commit
071aefc822
@ -78,6 +78,11 @@ impl Child for TmuxPty {
|
||||
fn process_id(&self) -> Option<u32> {
|
||||
Some(0)
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
fn as_raw_handle(&self) -> Option<std::os::windows::io::RawHandle> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
impl MasterPty for TmuxPty {
|
||||
@ -112,6 +117,7 @@ impl MasterPty for TmuxPty {
|
||||
}))
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn process_group_leader(&self) -> Option<libc::pid_t> {
|
||||
return None;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user