diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs index 7e8c0057..1d5799f6 100644 --- a/src/display.rs +++ b/src/display.rs @@ -416,7 +416,7 @@ impl Display { pty_size.height -= pty_size.cell_height * message.text(&size).len() as f32; } - if previous_cols != size.cols() || previous_lines != size.lines() { + if previous_cols != pty_size.cols() || previous_lines != pty_size.lines() { pty_resize_handle.on_resize(&pty_size); } |