1
1
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:
dixeran 2021-09-19 11:46:37 +08:00 committed by Wez Furlong
parent 1a73a2feaa
commit 071aefc822

View File

@ -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;
}