Fix #89
This commit is contained in:
parent
54a9d8bbe4
commit
986e587547
@ -378,10 +378,6 @@ impl State {
|
|||||||
fn try_nvim_resize(&mut self) {
|
fn try_nvim_resize(&mut self) {
|
||||||
let (columns, rows) = self.calc_nvim_size();
|
let (columns, rows) = self.calc_nvim_size();
|
||||||
|
|
||||||
if self.model.rows == rows && self.model.columns == columns {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let (requested_rows, requested_cols) = self.resize_request;
|
let (requested_rows, requested_cols) = self.resize_request;
|
||||||
|
|
||||||
if requested_rows == rows as i64 && requested_cols == columns as i64 {
|
if requested_rows == rows as i64 && requested_cols == columns as i64 {
|
||||||
|
Loading…
Reference in New Issue
Block a user