mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.0871: status line for a terminal window always has "[+]".
Problem: The status line for a terminal window always has "[+]". Solution: Do make the status line include "[+]" for a terminal window.
This commit is contained in:
parent
b9279e73ae
commit
086d535f77
@ -6893,7 +6893,11 @@ win_redr_status(win_T *wp)
|
||||
len += (int)STRLEN(p + len);
|
||||
}
|
||||
#endif
|
||||
if (bufIsChanged(wp->w_buffer))
|
||||
if (bufIsChanged(wp->w_buffer)
|
||||
#ifdef FEAT_TERMINAL
|
||||
&& !bt_terminal(wp->w_buffer)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
STRCPY(p + len, "[+]");
|
||||
len += 3;
|
||||
|
@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
871,
|
||||
/**/
|
||||
870,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user