summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-21 14:51:13 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-21 14:51:13 +0000
commiteea32afdb83ae281a63152f7494f79ec7e45ff55 (patch)
tree78938a8c7f2d263f1d66a3c6293ea4c9af8ef3a0 /src/proto/terminal.pro
parent7f0c4b418e01d6e056a74de2f22fcbad613b7591 (diff)
patch 8.2.3640: freeze when calling term_wait() in a close callbackv8.2.3640
Problem: Freeze when calling term_wait() in a close callback. Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
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 930460671b..f5bd1a6c7c 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -20,6 +20,7 @@ int term_use_loop(void);
void term_win_entered(void);
int terminal_loop(int blocking);
int may_close_term_popup(void);
+void term_channel_closing(channel_T *ch);
void term_channel_closed(channel_T *ch);
void term_check_channel_closed_recently(void);
int term_do_update_window(win_T *wp);