|
|
@ -452,14 +452,14 @@ function! s:execute_term(dict, command, temps) abort
|
|
|
|
execute self.ppos.win.'wincmd w'
|
|
|
|
execute self.ppos.win.'wincmd w'
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
if !s:exit_handler(a:code, self.command, 1)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if bufexists(self.buf)
|
|
|
|
if bufexists(self.buf)
|
|
|
|
execute 'bd!' self.buf
|
|
|
|
execute 'bd!' self.buf
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if !s:exit_handler(a:code, self.command, 1)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
call s:pushd(self.dict)
|
|
|
|
call s:pushd(self.dict)
|
|
|
|
let lines = s:collect(self.temps)
|
|
|
|
let lines = s:collect(self.temps)
|
|
|
|
call s:callback(self.dict, lines)
|
|
|
|
call s:callback(self.dict, lines)
|
|
|
|