summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-03 20:44:48 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-03 20:44:48 +0200
commite9c21aed6233185e7fbe1b462a0571c0e460a5a9 (patch)
treeb18f24877ce95b0c81a2a0d2fe0af691d9cd6c9f /src/os_mswin.c
parentb4a6721a288438c96fbeb051b09ef90735ac70d6 (diff)
downloadvim-git-e9c21aed6233185e7fbe1b462a0571c0e460a5a9.tar.gz
patch 8.0.0854: no redraw after terminal was closedv8.0.0854
Problem: No redraw after terminal was closed. Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes #1924) Add function to check for messages even when input is available.
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 696847e50..dd4201222 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -809,6 +809,18 @@ mch_char_avail(void)
/* never used */
return TRUE;
}
+
+# if defined(FEAT_TERMINAL) || defined(PROTO)
+/*
+ * Check for any pending input or messages.
+ */
+ int
+mch_check_messages(void)
+{
+ /* TODO: check for messages */
+ return TRUE;
+}
+# endif
#endif