mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 06:12:16 +03:00
macos: allow changing window title
This commit is contained in:
parent
d8b143776d
commit
5f547b6972
@ -137,7 +137,12 @@ impl WindowOpsMut for WindowInner {
|
||||
let () = msg_send![*self.view, setNeedsDisplay: YES];
|
||||
}
|
||||
}
|
||||
fn set_title(&mut self, title: &str) {}
|
||||
fn set_title(&mut self, title: &str) {
|
||||
let title = nsstring(title);
|
||||
unsafe {
|
||||
NSWindow::setTitle_(*self.window, *title);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct Inner {
|
||||
|
Loading…
Reference in New Issue
Block a user