Mercurial > vim
diff src/getchar.c @ 365:bda4394122e0
updated for version 7.0095
author | vimboss |
---|---|
date | Mon, 27 Jun 2005 22:25:50 +0000 |
parents | e111db373ca4 |
children | 3da34f87c760 |
line wrap: on
line diff
--- a/src/getchar.c +++ b/src/getchar.c @@ -1411,6 +1411,19 @@ using_script() #endif /* + * This function is called just before doing a blocking wait. Thus after + * waiting 'updatetime' for a character to arrive. + */ + void +before_blocking() +{ + updatescript(0); +#ifdef FEAT_EVAL + garbage_collect(); +#endif +} + +/* * updatescipt() is called when a character can be written into the script file * or when we have waited some time for a character (c == 0) *