diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 4b554e92ae4fc8543f0c9a5fa1e93204a85f8190..8e3859dd28544e09730764a150418b1d02fd98a3 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -467,7 +467,7 @@ function! s:execute_term(dict, command, temps) abort
       execute 'bd!' self.buf
     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
     endif