Give focus to the selected terminal
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
parent
baa9e271d5
commit
ad7e49ed06
6 changed files with 43 additions and 20 deletions
|
@ -1,4 +1,5 @@
|
|||
mod persistence;
|
||||
pub mod terminal_button;
|
||||
pub mod terminal_element;
|
||||
|
||||
use std::{
|
||||
|
@ -177,8 +178,8 @@ impl TerminalView {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn handle(&self) -> ModelHandle<Terminal> {
|
||||
self.terminal.clone()
|
||||
pub fn model(&self) -> &ModelHandle<Terminal> {
|
||||
&self.terminal
|
||||
}
|
||||
|
||||
pub fn has_new_content(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue