summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nncmpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index fa690bd..613d902 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -1266,6 +1266,7 @@ app_process_user_action (enum user_action action)
{
g_ctx.active_tab->item_selected = 0;
app_ensure_selection_visible ();
+ app_invalidate ();
}
return true;
case USER_ACTION_GOTO_BOTTOM:
@@ -1274,6 +1275,7 @@ app_process_user_action (enum user_action action)
g_ctx.active_tab->item_selected =
(int) g_ctx.active_tab->item_count - 1;
app_ensure_selection_visible ();
+ app_invalidate ();
}
return true;