summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorYee Cheng Chin <ychin.git@gmail.com>2022-10-09 18:53:32 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-09 18:53:32 +0100
commit15b314ffbb93f934b72cb71aa8f881caea026256 (patch)
treecffce54dd07078c4d6407e7e06a2823f945e6ef6 /src/proto/terminal.pro
parent118c235112854f34182d968613d7fe98be3b290b (diff)
patch 9.0.0708: :confirm does not work properly for a terminal bufferv9.0.0708
Problem: :confirm does not work properly for a terminal buffer. Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng Chin, closes #11312)
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 9de563115d..7a7c507a89 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -10,6 +10,7 @@ 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_confirm_stop(buf_T *buf);
int term_try_stop_job(buf_T *buf);
int term_check_timers(int next_due_arg, proftime_T *now);
int term_in_normal_mode(void);