From c571930de4e0991269d8f409bc42b93102de0eb0 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 30 Jan 2009 08:54:19 +0100 Subject: [PATCH] Initialize status_empty flag to FALSE Fixes cursor restoring when loading the status view at startup. --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 4fac532..f8d3eae 100644 --- a/tig.c +++ b/tig.c @@ -6112,7 +6112,7 @@ static bool cursed = FALSE; /* The status window is used for polling keystrokes. */ static WINDOW *status_win; -static bool status_empty = TRUE; +static bool status_empty = FALSE; /* Update status and title window. */ static void -- 2.32.0.93.g670b81a890