WIP compiling but failing with circular reference
This commit is contained in:
parent
6442ec59e7
commit
690ea57211
22 changed files with 664 additions and 515 deletions
|
@ -161,6 +161,13 @@ impl Dimensions for TerminalSize {
|
|||
fn columns(&self) -> usize {
|
||||
self.num_columns()
|
||||
}
|
||||
|
||||
fn on_focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
cx.emit(Event::Activate);
|
||||
cx.defer(|view, cx| {
|
||||
cx.focus(view.content.handle());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue