1
0
forked from aniani/vim

patch 8.2.1597: the channel source file is too big

Problem:    The channel source file is too big.
Solution:   Move job related code to a new source file.
This commit is contained in:
Bram Moolenaar
2020-09-05 15:48:51 +02:00
parent 7dfc5ce7cf
commit 8b5866ded6
15 changed files with 2002 additions and 1960 deletions

View File

@@ -1902,6 +1902,9 @@ EXTERN int did_repeated_msg INIT(= 0);
// out_flush() when characters have been written.
EXTERN int ch_log_output INIT(= FALSE);
// Whether a redraw is needed for appending a line to a buffer.
EXTERN int channel_need_redraw INIT(= FALSE);
#define FOR_ALL_CHANNELS(ch) \
for ((ch) = first_channel; (ch) != NULL; (ch) = (ch)->ch_next)
#define FOR_ALL_JOBS(job) \