about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-01-10 23:51:26 +0000
committerMarco Peereboom <marco@conformal.com>2011-01-10 23:51:26 +0000
commit11df91092a33683e12528ab2f1bc43de2eadd3c3 (patch)
tree4d28a385a8f10525d4b6e74e100db24b9ef4c612
parent8a0d00251c457a05a5f4f9416eebb6b141896af2 (diff)
downloadxombrero-11df91092a33683e12528ab2f1bc43de2eadd3c3.tar.gz
compain about invalid command however when this is set not all keys make it
go away (like arrows, pgup pgdn etc).  This needs fixing.
-rw-r--r--xxxterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 34a14f7..1884f67 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -96,7 +96,7 @@ void		(*_soup_cookie_jar_add_cookie)(SoupCookieJar *, SoupCookie *);
 void		(*_soup_cookie_jar_delete_cookie)(SoupCookieJar *,
 		    SoupCookie *);
 
-/*#define XT_DEBUG*/
+#define XT_DEBUG
 #ifdef XT_DEBUG
 #define DPRINTF(x...)		do { if (swm_debug) fprintf(stderr, x); } while (0)
 #define DNPRINTF(n,x...)	do { if (swm_debug & n) fprintf(stderr, x); } while (0)
@@ -5011,7 +5011,7 @@ cmd_activate_cb(GtkEntry *entry, struct tab *t)
 			if (!strcmp(s, cmds[i].cmd))
 				goto execute_command;
 		}
-
+	show_oops(t, "Invalid command: %s", s);
 done:
 	hide_cmd(t);
 	return;