diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-22 16:19:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-22 16:19:45 +0100 |
commit | 4c86830fc578bcb47a51cf0983da5388cdbfe6cc (patch) | |
tree | 8c2b04a8cfaf7e00f8a20e38a5e5d09a5043b951 /src/ex_cmds.h | |
parent | 09f8b3a02200a1900a8bb41d7436f9d17ebd2d1b (diff) |
patch 8.2.2638: cannot write a message to the terminal from the GUIv8.2.2638
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue #7975)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 90fd015384..aa41ab3a28 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -530,6 +530,9 @@ EXCMD(CMD_echohl, "echohl", ex_echohl, EXCMD(CMD_echomsg, "echomsg", ex_execute, EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), +EXCMD(CMD_echoconsole, "echoconsole", ex_execute, + EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK, + ADDR_NONE), EXCMD(CMD_echon, "echon", ex_echo, EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), |