1
0
forked from aniani/vim

patch 8.2.0662: cannot use input() in a channel callback

Problem:    Cannot use input() in a channel callback.
Solution:   Reset vgetc_busy. (closes #6010)
This commit is contained in:
Bram Moolenaar
2020-04-29 22:30:13 +02:00
parent 339d60c89b
commit dfc33a665d
5 changed files with 33 additions and 3 deletions

View File

@@ -1814,6 +1814,9 @@ EXTERN int in_free_unref_items INIT(= FALSE);
EXTERN int did_add_timer INIT(= FALSE);
EXTERN int timer_busy INIT(= 0); // when timer is inside vgetc() then > 0
#endif
#ifdef FEAT_EVAL
EXTERN int input_busy INIT(= 0); // when inside get_user_input() then > 0
#endif
#ifdef FEAT_BEVAL_TERM
EXTERN int bevalexpr_due_set INIT(= FALSE);