mirror of
https://github.com/wez/wezterm.git
synced 2024-11-25 21:07:39 +03:00
fix build on windows
This commit is contained in:
parent
60566c7119
commit
2843adb680
@ -458,8 +458,16 @@ impl Pane for LocalPane {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn tty_name(&self) -> Option<String> {
|
fn tty_name(&self) -> Option<String> {
|
||||||
let name = self.pty.lock().tty_name()?;
|
#[cfg(unix)]
|
||||||
Some(name.to_string_lossy().into_owned())
|
{
|
||||||
|
let name = self.pty.lock().tty_name()?;
|
||||||
|
Some(name.to_string_lossy().into_owned())
|
||||||
|
}
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
|
{
|
||||||
|
None
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_foreground_process_info(&self) -> Option<LocalProcessInfo> {
|
fn get_foreground_process_info(&self) -> Option<LocalProcessInfo> {
|
||||||
|
Loading…
Reference in New Issue
Block a user