Skip to content

Commit

Permalink
remove send_resize on messenger
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Dec 21, 2024
1 parent ec1d49b commit b23586e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions frontends/rioterm/src/context/grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,14 +433,9 @@ impl<T: rio_backend::event::EventListener> ContextGrid<T> {
let mut terminal = self.inner[index].val.terminal.lock();
terminal.resize::<ContextDimension>(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) {
Expand Down

0 comments on commit b23586e

Please sign in to comment.