Skip to content

Commit

Permalink
V1.9.6
Browse files Browse the repository at this point in the history
Signed-off-by: tracyone <tracyone@live.cn>
  • Loading branch information
tracyone committed Nov 17, 2023
1 parent c5f5ac6 commit 0472ab1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion autoload/te/utils.vim
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,14 @@ function! te#utils#quit_win(all) abort
endif
endfor
endif
"multiple tab

" 0 or 1 listed buffer
let l:cur_buf = bufnr()
if !buflisted(l:cur_buf)
:quit
return
endif

let l:no_of_listed_buffer=te#utils#has_listed_buffer(0)
if l:no_of_listed_buffer == 1
if len(te#terminal#get_buf_list())
Expand Down

0 comments on commit 0472ab1

Please sign in to comment.