summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-05 02:53:09 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-05 02:53:09 +0200
commitd723f9523fee4522eb6ddad3148787322a63ebca (patch)
treeafb25b7638dd305c97ae278ec5a38a6694aff01d
parent16a19282cb017c48dfeb7aff6d0bdaa0bf8cc383 (diff)
downloadnncmpp-d723f9523fee4522eb6ddad3148787322a63ebca.tar.gz
nncmpp-d723f9523fee4522eb6ddad3148787322a63ebca.tar.xz
nncmpp-d723f9523fee4522eb6ddad3148787322a63ebca.zip
Fix regression in Home/End handling
-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;