From: Jonas Fonseca Date: Tue, 8 Jun 2010 00:06:42 +0000 (-0400) Subject: Fix clearing of the loading flag in the input select loop X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2c2839e98eb79c86012845c063680c3b8c8ecf0;p=tig.git Fix clearing of the loading flag in the input select loop The bug was introduced in 33e10c2599e16ff6690e7b0bbdd7a95e7f97c886. --- 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 &&