From 29ae377ea7039874337bc79ace9ab2b37b9056e5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 30 Apr 2017 19:39:39 +0200 Subject: patch 8.0.0592: if a job writes to a buffer screen is not updated Problem: If a job writes to a buffer and the user is typing a command, the screen isn't updated. When a message is displayed the changed buffer may cause it to be cleared. (Ramel Eshed) Solution: Update the screen and then the command line if the screen didn't scroll. Avoid inserting screen lines, as it clears any message. Update the status line when the buffer changed. --- src/proto/ex_getln.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proto/ex_getln.pro') diff --git a/src/proto/ex_getln.pro b/src/proto/ex_getln.pro index 58b635b9f..6f8290423 100644 --- a/src/proto/ex_getln.pro +++ b/src/proto/ex_getln.pro @@ -19,6 +19,7 @@ char_u *save_cmdline_alloc(void); void restore_cmdline_alloc(char_u *p); void cmdline_paste_str(char_u *s, int literally); void redrawcmdline(void); +void redrawcmdline_ex(int do_compute_cmdrow); void redrawcmd(void); void compute_cmdrow(void); void gotocmdline(int clr); -- cgit v1.2.1