mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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:
@@ -1407,19 +1407,20 @@ do_shell(
|
|||||||
* For autocommands we want to get the output on the current screen, to
|
* For autocommands we want to get the output on the current screen, to
|
||||||
* avoid having to type return below.
|
* avoid having to type return below.
|
||||||
*/
|
*/
|
||||||
msg_putchar('\r'); /* put cursor at start of line */
|
msg_putchar('\r'); // put cursor at start of line
|
||||||
msg_putchar('\n'); /* may shift screen one line up */
|
msg_putchar('\n'); // may shift screen one line up
|
||||||
|
|
||||||
/* warning message before calling the shell */
|
// warning message before calling the shell
|
||||||
if (p_warn
|
if (p_warn
|
||||||
&& !autocmd_busy
|
&& !autocmd_busy
|
||||||
&& msg_silent == 0)
|
&& msg_silent == 0) {
|
||||||
FOR_ALL_BUFFERS(buf) {
|
FOR_ALL_BUFFERS(buf) {
|
||||||
if (bufIsChanged(buf)) {
|
if (bufIsChanged(buf)) {
|
||||||
MSG_PUTS(_("[No write since last change]\n"));
|
MSG_PUTS(_("[No write since last change]\n"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// This ui_cursor_goto is required for when the '\n' resulted in a "delete line
|
// This ui_cursor_goto is required for when the '\n' resulted in a "delete line
|
||||||
// 1" command to the terminal.
|
// 1" command to the terminal.
|
||||||
|
Reference in New Issue
Block a user