WIP, almost done with tooltips
This commit is contained in:
parent
a686a9f1d2
commit
d2d49633f1
4 changed files with 138 additions and 18 deletions
|
@ -362,7 +362,9 @@ impl View for TerminalView {
|
|||
}
|
||||
|
||||
fn on_focus_out(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
self.terminal.read(cx).focus_out();
|
||||
self.terminal.update(cx, |terminal, _| {
|
||||
terminal.focus_out();
|
||||
});
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue