From d723f9523fee4522eb6ddad3148787322a63ebca Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 5 Oct 2016 02:53:09 +0200
Subject: Fix regression in Home/End handling
---
nncmpp.c | 2 ++
1 file changed, 2 insertions(+)
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;
--
cgit v1.2.3-70-g09d2