1
0
forked from aniani/vim

patch 8.0.0910: cannot create a terminal in the current window

Problem:    Cannot create a terminal in the current window.
Solution:   Add option "curwin" and ++curwin.
This commit is contained in:
Bram Moolenaar
2017-08-11 22:27:50 +02:00
parent 8ed5400739
commit da43b61ddd
7 changed files with 86 additions and 24 deletions

View File

@@ -8077,6 +8077,9 @@ term_start({cmd}, {options}) *term_start()*
"term_cols" horizontal size to use for the terminal,
instead of using 'termsize'
"vertical" split the window vertically
"curwin" use the current window, do not split the
window; fails if the current buffer
cannot be |abandon|ed
"term_finish" What to do when the job is finished:
"close": close any windows
"open": open window if needed