Fixed compile error linux. (#434)

This commit is contained in:
Timon 2020-05-18 19:01:39 +02:00 committed by GitHub
parent 42509e2fd8
commit bc1f913487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,6 +317,7 @@ impl<'a> Command for SetTitle<'a> {
ansi::set_title_ansi_sequence(self.0)
}
#[cfg(windows)]
fn execute_winapi(&self) -> Result<()> {
sys::set_window_title(self.0)
}