Set configuration on new-tab terminals
Non-default settings wouldn't apply to new-tab terminals otherwise. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
This commit is contained in:
parent
5ac267d228
commit
9ba9f0fb6e
1 changed files with 2 additions and 1 deletions
|
|
@ -554,12 +554,13 @@ impl Application for App {
|
||||||
.closable()
|
.closable()
|
||||||
.activate()
|
.activate()
|
||||||
.id();
|
.id();
|
||||||
let terminal = Terminal::new(
|
let mut terminal = Terminal::new(
|
||||||
entity,
|
entity,
|
||||||
term_event_tx.clone(),
|
term_event_tx.clone(),
|
||||||
self.term_config.clone(),
|
self.term_config.clone(),
|
||||||
colors.clone(),
|
colors.clone(),
|
||||||
);
|
);
|
||||||
|
terminal.set_config(&self.config, &self.themes);
|
||||||
self.tab_model
|
self.tab_model
|
||||||
.data_set::<Mutex<Terminal>>(entity, Mutex::new(terminal));
|
.data_set::<Mutex<Terminal>>(entity, Mutex::new(terminal));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue