From c2c2839e98eb79c86012845c063680c3b8c8ecf0 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 7 Jun 2010 20:06:42 -0400 Subject: [PATCH] Fix clearing of the loading flag in the input select loop The bug was introduced in 33e10c2599e16ff6690e7b0bbdd7a95e7f97c886. --- tig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 01f48c3..c963977 100644 --- a/tig.c +++ b/tig.c @@ -7086,12 +7086,13 @@ get_input(int prompt_position) { struct view *view; int i, key, cursor_y, cursor_x; - bool loading = FALSE; if (prompt_position) input_mode = TRUE; while (TRUE) { + bool loading = FALSE; + foreach_view (view, i) { update_view(view); if (view_is_displayed(view) && view->has_scrolled && -- 2.30.2