From b98545f4551937af0dfd6fd818df65161ffc10fe Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 17 Apr 2017 10:26:37 +0200
Subject: [PATCH] display: push the titlebar to the screen as soon as it has
 been drawn

To avoid an ncurses hiccup (miscoloring) when running on musl.

This fixes https://savannah.gnu.org/bugs/?50787.
Reported-by: Avi Halachmi <avihpit@yahoo.com>
---
 src/winio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/winio.c b/src/winio.c
index fe31b9d1..381a1b96 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2078,6 +2078,7 @@ void titlebar(const char *path)
     wattroff(topwin, interface_color_pair[TITLE_BAR]);
 
     wnoutrefresh(topwin);
+    doupdate();
 }
 
 /* Display a normal message on the statusbar, quietly. */
-- 
GitLab