[neovim] Do not resize if the size of the screen has changed
Related #642
This commit is contained in:
parent
411ec2e557
commit
d87390934e
@ -467,7 +467,7 @@ function! s:execute_term(dict, command, temps) abort
|
|||||||
execute 'bd!' self.buf
|
execute 'bd!' self.buf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if &lines <= self.lines && &columns <= self.columns && s:getpos() == self.ppos
|
if &lines == self.lines && &columns == self.columns && s:getpos() == self.ppos
|
||||||
execute self.winrest
|
execute self.winrest
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user