summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-11 22:27:50 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-11 22:27:50 +0200
commitda43b61dddcf81439a6f1716956a4e8d9046e68f (patch)
treec7433cdf21bc7e992efb60e5fda531140df395c6 /src/ex_cmds.h
parent8ed54007399f968aab447ae6cb46623b1bdbc75e (diff)
patch 8.0.0910: cannot create a terminal in the current windowv8.0.0910
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 977b01a8c3..6fb528d582 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,