aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-03-21 15:13:17 +0000
committerBlaž Hrastnik2022-03-28 02:01:53 +0000
commit85264a861aeda7a002dda548403258620e914b57 (patch)
treedfd911ce71e1eedabed4e692254ab11ce2f8e552 /helix-term/src
parent7b3a3d562cb46a1d70950983d460e388ae46cf79 (diff)
Resize is not necessary inside SIGCONT, handled by render()
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/application.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 6f90ae61..8a9bdd29 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -311,7 +311,6 @@ impl Application {
#[cfg(not(windows))]
pub async fn handle_signals(&mut self, signal: i32) {
- use helix_view::graphics::Rect;
match signal {
signal::SIGTSTP => {
self.compositor.save_cursor();
@@ -321,8 +320,6 @@ impl Application {
signal::SIGCONT => {
self.claim_term().await.unwrap();
// redraw the terminal
- let Rect { width, height, .. } = self.compositor.size();
- self.compositor.resize(width, height);
self.compositor.load_cursor();
self.render();
}