1
0
forked from aniani/vim

patch 8.0.0929: :term without argument does not work

Problem:    :term without argument does not work.
Solution:   Use shell for empty command. (Yasuhiro Matsumoto, closes #1970)
This commit is contained in:
Bram Moolenaar
2017-08-13 17:38:11 +02:00
parent dcaa61384c
commit 2438ae3d67
2 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,6 @@
* in tl_scrollback are no longer used.
*
* TODO:
* - Make argument list work on MS-Windows. #1954
* - To set BS correctly, check get_stty(); Pass the fd of the pty.
* For the GUI fill termios with default values, perhaps like pangoterm:
* http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
@@ -464,6 +463,8 @@ ex_terminal(exarg_T *eap)
}
cmd = skipwhite(p);
}
if (cmd == NULL || *cmd == NUL)
cmd = p_sh;
if (eap->addr_count == 2)
{