From 9ba9f0fb6eb7d56491bac15f7c8de5bed53eea79 Mon Sep 17 00:00:00 2001 From: Mohammad AlSaleh Date: Mon, 1 Jan 2024 10:37:35 +0300 Subject: [PATCH] Set configuration on new-tab terminals Non-default settings wouldn't apply to new-tab terminals otherwise. Signed-off-by: Mohammad AlSaleh --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0345141..4fc0322 100644 --- a/src/main.rs +++ b/src/main.rs @@ -554,12 +554,13 @@ impl Application for App { .closable() .activate() .id(); - let terminal = Terminal::new( + let mut terminal = Terminal::new( entity, term_event_tx.clone(), self.term_config.clone(), colors.clone(), ); + terminal.set_config(&self.config, &self.themes); self.tab_model .data_set::>(entity, Mutex::new(terminal)); }