From 6033f6a869787c9869224092df2066b9bf49c826 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Wed, 24 Aug 2022 07:26:47 +0200 Subject: Notify when actions can't be taken --- nncmpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nncmpp.c b/nncmpp.c index 9c2efee..6214345 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -2536,6 +2536,7 @@ app_process_action (enum action action) app_invalidate (); return true; default: + print_error ("can't do that here: %s", g_action_descriptions[action]); return false; case ACTION_MULTISELECT: @@ -2666,6 +2667,7 @@ app_editor_process_action (enum action action) g.editor.on_end = NULL; return true; default: + print_error ("can't do that here: %s", g_action_descriptions[action]); return false; case ACTION_EDITOR_B_CHAR: -- cgit v1.2.3-70-g09d2