diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-11 22:27:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-11 22:27:50 +0200 |
commit | da43b61dddcf81439a6f1716956a4e8d9046e68f (patch) | |
tree | c7433cdf21bc7e992efb60e5fda531140df395c6 /src/ex_cmds.h | |
parent | 8ed54007399f968aab447ae6cb46623b1bdbc75e (diff) | |
download | vim-da43b61dddcf81439a6f1716956a4e8d9046e68f.zip |
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.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 977b01a8c..6fb528d58 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -1484,7 +1484,7 @@ EX(CMD_tearoff, "tearoff", ex_tearoff, NEEDARG|EXTRA|TRLBAR|NOTRLCOM|CMDWIN, ADDR_LINES), EX(CMD_terminal, "terminal", ex_terminal, - RANGE|NOTADR|FILES|TRLBAR|CMDWIN, + RANGE|NOTADR|BANG|FILES|TRLBAR|CMDWIN, ADDR_OTHER), EX(CMD_tfirst, "tfirst", ex_tag, RANGE|NOTADR|BANG|TRLBAR|ZEROR, |