diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-27 22:25:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-27 22:25:50 +0000 |
commit | 238f4fa79812261a3cbae7fbf7ec1443ef01526a (patch) | |
tree | 4ccc954890bda854ac00ac0ae4e6711da72ad751 /src | |
parent | d9fba318b8465da7da0b19ec1b38f9371f46a173 (diff) | |
download | vim-git-238f4fa79812261a3cbae7fbf7ec1443ef01526a.tar.gz |
updated for version 7.0095
Diffstat (limited to 'src')
-rw-r--r-- | src/getchar.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index 686861aa4..311fe584d 100644 --- 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) * |