mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.0854: no redraw after terminal was closed
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user