vim-patch:8.1.1016: MS-Windows: No color in shell when using "!" in 'guioptions

Problem:    MS-Windows: No color in shell when using "!" in 'guioptions.
Solution:   Don't stop termcap when using a terminal window for the shell.
            (vim-jp, closes vim/vim#4117)
049ca59236

N/A patches for version.c:

vim-patch:8.2.0890: no color in terminal window when 'termguicolor' is set

Problem:    No color in terminal window when 'termguicolor' is set.
Solution:   Clear the underline color. (closes vim/vim#6186)
1e5f8f6d65

vim-patch:8.2.1805: Unix: terminal mode changed when using ":shell"

Problem:    Unix: terminal mode changed when using ":shell".
Solution:   Avoid calling settmode() when not needed. (issue vim/vim#7079)
80361a5f2b

vim-patch:8.2.2345: no focus events in a terminal

Problem:    No focus events in a terminal.
Solution:   Add the t_fd and t_fe termcap entries and implement detecting
            focus events. (Hayaki Saito, Magnus Groß, closes vim/vim#7673,
            closes vim/vim#609, closes vim/vim#5526)
681fc3fa78

vim-patch:8.2.2564: focus events end Insert mode if 'esckeys' is not set

Problem:    Focus events end Insert mode if 'esckeys' is not set.
Solution:   Do not enable focus events when 'esckeys' is off. (closes vim/vim#7926)
51b477f74f
This commit is contained in:
Jan Edmund Lazo 2021-03-06 07:59:26 -05:00
parent 0496b572ac
commit f135e511c0
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -1407,19 +1407,20 @@ do_shell(
* For autocommands we want to get the output on the current screen, to
* avoid having to type return below.
*/
msg_putchar('\r'); /* put cursor at start of line */
msg_putchar('\n'); /* may shift screen one line up */
msg_putchar('\r'); // put cursor at start of line
msg_putchar('\n'); // may shift screen one line up
/* warning message before calling the shell */
// warning message before calling the shell
if (p_warn
&& !autocmd_busy
&& msg_silent == 0)
&& msg_silent == 0) {
FOR_ALL_BUFFERS(buf) {
if (bufIsChanged(buf)) {
MSG_PUTS(_("[No write since last change]\n"));
break;
}
}
}
// This ui_cursor_goto is required for when the '\n' resulted in a "delete line
// 1" command to the terminal.