Mercurial > vim
diff src/ex_cmds.h @ 24194:9f64c420f280 v8.2.2638
patch 8.2.2638: cannot write a message to the terminal from the GUI
Commit: https://github.com/vim/vim/commit/4c86830fc578bcb47a51cf0983da5388cdbfe6cc
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 22 16:19:45 2021 +0100
patch 8.2.2638: cannot write a message to the terminal from the GUI
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue https://github.com/vim/vim/issues/7975)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Mar 2021 16:30:04 +0100 |
parents | 29b15fbc2bcb |
children | 3bfec39ce31c |
line wrap: on
line diff
--- 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),