diff --git a/src/terminal.rs b/src/terminal.rs index a60d983..0c565ac 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -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) }