summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-29 22:37:05 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-29 22:37:05 +0100
commit9e636b9d2ef54552383daebf290d916b3d001823 (patch)
treede1946ef20a5338f42dbf38b36c8e748b989001a /src/proto/terminal.pro
parentfc376e0b1a36a2ef153e28752c61342554386886 (diff)
patch 8.2.5041: cannot close a terminal popup with "NONE" jobv8.2.5041
Problem: Cannot close a terminal popup with "NONE" job. Solution: Adjust the conditions for whether a job is running. (closes #10498)
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r--src/proto/terminal.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index 0736563111..9de563115d 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -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);