1
0
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:
Bram Moolenaar
2022-05-29 22:37:05 +01:00
parent fc376e0b1a
commit 9e636b9d2e
6 changed files with 36 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ void free_terminal(buf_T *buf);
void free_unused_terminals(void);
void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel);
int term_job_running(term_T *term);
int term_job_running_not_none(term_T *term);
int term_none_open(term_T *term);
int term_try_stop_job(buf_T *buf);
int term_check_timers(int next_due_arg, proftime_T *now);