From bc1f913487bb9215b886e3969a145872f8de27a2 Mon Sep 17 00:00:00 2001 From: Timon Date: Mon, 18 May 2020 19:01:39 +0200 Subject: [PATCH] Fixed compile error linux. (#434) --- src/terminal.rs | 1 + 1 file changed, 1 insertion(+) 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) }