mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -38,7 +38,6 @@
|
|||||||
* in tl_scrollback are no longer used.
|
* in tl_scrollback are no longer used.
|
||||||
*
|
*
|
||||||
* TODO:
|
* TODO:
|
||||||
* - Make argument list work on MS-Windows. #1954
|
|
||||||
* - To set BS correctly, check get_stty(); Pass the fd of the pty.
|
* - To set BS correctly, check get_stty(); Pass the fd of the pty.
|
||||||
* For the GUI fill termios with default values, perhaps like pangoterm:
|
* For the GUI fill termios with default values, perhaps like pangoterm:
|
||||||
* http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
|
* http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
|
||||||
@@ -464,6 +463,8 @@ ex_terminal(exarg_T *eap)
|
|||||||
}
|
}
|
||||||
cmd = skipwhite(p);
|
cmd = skipwhite(p);
|
||||||
}
|
}
|
||||||
|
if (cmd == NULL || *cmd == NUL)
|
||||||
|
cmd = p_sh;
|
||||||
|
|
||||||
if (eap->addr_count == 2)
|
if (eap->addr_count == 2)
|
||||||
{
|
{
|
||||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
929,
|
||||||
/**/
|
/**/
|
||||||
928,
|
928,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user