Fixed compile error linux. (#434)
This commit is contained in:
parent
42509e2fd8
commit
bc1f913487
@ -317,6 +317,7 @@ impl<'a> Command for SetTitle<'a> {
|
|||||||
ansi::set_title_ansi_sequence(self.0)
|
ansi::set_title_ansi_sequence(self.0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
fn execute_winapi(&self) -> Result<()> {
|
fn execute_winapi(&self) -> Result<()> {
|
||||||
sys::set_window_title(self.0)
|
sys::set_window_title(self.0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user