summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-27 22:25:50 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-27 22:25:50 +0000
commit238f4fa79812261a3cbae7fbf7ec1443ef01526a (patch)
tree4ccc954890bda854ac00ac0ae4e6711da72ad751
parentd9fba318b8465da7da0b19ec1b38f9371f46a173 (diff)
downloadvim-git-238f4fa79812261a3cbae7fbf7ec1443ef01526a.tar.gz
updated for version 7.0095
-rw-r--r--src/getchar.c13
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)
*