aboutsummaryrefslogtreecommitdiff
path: root/src/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/window.rs b/src/window.rs
index cdc3bdc7..cceffcab 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -224,11 +224,8 @@ impl Window {
/// Set the window title
#[inline]
- pub fn set_title(&self, _title: &str) {
- // Because winpty doesn't know anything about OSC escapes this gets set to an empty
- // string on windows
- #[cfg(not(windows))]
- self.window.set_title(_title);
+ pub fn set_title(&self, title: &str) {
+ self.window.set_title(title);
}
#[inline]