forked from aniani/vim
patch 8.2.5041: cannot close a terminal popup with "NONE" job
Problem: Cannot close a terminal popup with "NONE" job. Solution: Adjust the conditions for whether a job is running. (closes #10498)
This commit is contained in:
@@ -3574,7 +3574,7 @@ u_blockfree(buf_T *buf)
|
||||
bufIsChanged(buf_T *buf)
|
||||
{
|
||||
#ifdef FEAT_TERMINAL
|
||||
if (term_job_running(buf->b_term))
|
||||
if (term_job_running_not_none(buf->b_term))
|
||||
return TRUE;
|
||||
#endif
|
||||
return bufIsChangedNotTerm(buf);
|
||||
|
Reference in New Issue
Block a user