Mercurial > vim
diff src/proto/ui.pro @ 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 | 00a1b89256ea |
children | fdc6a7769045 |
line wrap: on
line diff
--- a/src/proto/ui.pro +++ b/src/proto/ui.pro @@ -1,11 +1,11 @@ /* ui.c */ -void ui_write(char_u *s, int len); +void ui_write(char_u *s, int len, int console); void ui_inchar_undo(char_u *s, int len); int ui_inchar(char_u *buf, int maxlen, long wtime, int tb_change_cnt); int inchar_loop(char_u *buf, int maxlen, long wtime, int tb_change_cnt, int (*wait_func)(long wtime, int *interrupted, int ignore_input), int (*resize_func)(int check_only)); int ui_wait_for_chars_or_timer(long wtime, int (*wait_func)(long wtime, int *interrupted, int ignore_input), int *interrupted, int ignore_input); int ui_char_avail(void); -void ui_delay(long msec, int ignoreinput); +void ui_delay(long msec_arg, int ignoreinput); void ui_suspend(void); void suspend_shell(void); int ui_get_shellsize(void);