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 /runtime/doc/eval.txt | |
parent | 09f8b3a02200a1900a8bb41d7436f9d17ebd2d1b (diff) | |
download | vim-git-4c86830fc578bcb47a51cf0983da5388cdbfe6cc.tar.gz |
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 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 723a7329b..86df7b570 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -13141,7 +13141,12 @@ text... < If you just want a highlighted message use |:echohl|. And to get a beep: > :exe "normal \<Esc>" -< + +:echoc[onsole] {expr1} .. *:echoc* *:echoconsole* + Intended for testing: works like `:echomsg` but when + running in the GUI and started from a terminal write + the text to stdout. + *:eval* :eval {expr} Evaluate {expr} and discard the result. Example: > :eval Getlist()->Filter()->append('$') |