mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 19:48:32 +00:00
vim-patch:8.0.0797: finished job in terminal window is not handled
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
d85f271bf8
This commit is contained in:
@@ -4831,13 +4831,13 @@ static void win_redr_status(win_T *wp)
|
|||||||
p = NameBuff;
|
p = NameBuff;
|
||||||
len = (int)STRLEN(p);
|
len = (int)STRLEN(p);
|
||||||
|
|
||||||
if (wp->w_buffer->b_help
|
if (bt_help(wp->w_buffer)
|
||||||
|| wp->w_p_pvw
|
|| wp->w_p_pvw
|
||||||
|| bufIsChanged(wp->w_buffer)
|
|| bufIsChanged(wp->w_buffer)
|
||||||
|| wp->w_buffer->b_p_ro) {
|
|| wp->w_buffer->b_p_ro) {
|
||||||
*(p + len++) = ' ';
|
*(p + len++) = ' ';
|
||||||
}
|
}
|
||||||
if (wp->w_buffer->b_help) {
|
if (bt_help(wp->w_buffer)) {
|
||||||
STRCPY(p + len, _("[Help]"));
|
STRCPY(p + len, _("[Help]"));
|
||||||
len += (int)STRLEN(p + len);
|
len += (int)STRLEN(p + len);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user