From b23586e5a2b5c89f3b96d5ce296b6b6d9debb519 Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sat, 21 Dec 2024 00:02:06 -0300 Subject: [PATCH] remove send_resize on messenger --- frontends/rioterm/src/context/grid.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/frontends/rioterm/src/context/grid.rs b/frontends/rioterm/src/context/grid.rs index 9c62df26ed..e40d2012fa 100644 --- a/frontends/rioterm/src/context/grid.rs +++ b/frontends/rioterm/src/context/grid.rs @@ -433,14 +433,9 @@ impl ContextGrid { let mut terminal = self.inner[index].val.terminal.lock(); terminal.resize::(self.inner[index].val.dimension); drop(terminal); - let winsize = + let _winsize = crate::renderer::utils::terminal_dimensions(&self.inner[index].val.dimension); - match self.inner[index].val.messenger.send_resize(winsize) { - Ok(_) => {} - Err(a) => { - println!("{:?}", a); - } - } + // let _ = self.inner[index].val.messenger.send_resize(winsize); } pub fn remove_current(&mut self) {