summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-20 18:09:14 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-20 18:09:14 +0200
commitb241208a13d3e9def36d749b1e824ae694aa85f8 (patch)
tree3b5544c1e0dfe300b4351b2934bf0ce87f84ac0a /src/ex_cmds.h
parentedbc0d46cffe1766d0b330dc2842212cff644f8e (diff)
patch 8.0.0976: cannot send lines to a terminal jobv8.0.0976
Problem: Cannot send lines to a terminal job. Solution: Make [range]terminal send selected lines to the job. Use ++rows and ++cols for the terminal size.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 6fb528d582..161ba1d117 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1484,8 +1484,8 @@ EX(CMD_tearoff, "tearoff", ex_tearoff,
NEEDARG|EXTRA|TRLBAR|NOTRLCOM|CMDWIN,
ADDR_LINES),
EX(CMD_terminal, "terminal", ex_terminal,
- RANGE|NOTADR|BANG|FILES|TRLBAR|CMDWIN,
- ADDR_OTHER),
+ RANGE|BANG|FILES|TRLBAR|CMDWIN,
+ ADDR_LINES),
EX(CMD_tfirst, "tfirst", ex_tag,
RANGE|NOTADR|BANG|TRLBAR|ZEROR,
ADDR_LINES),