merges from irssi.org cvs.
[silc.git] / apps / irssi / src / fe-common / core / keyboard.c
index e622f973ce769b8809f052e1f804c3d091215676..3c0efade7b5d47de73529de8fcecf46e1df03f59 100644 (file)
@@ -633,6 +633,10 @@ static void sig_multi(const char *data, void *gui_data)
         g_strfreev(list);
 }
 
+static void sig_nothing(const char *data)
+{
+}
+
 static void cmd_show_keys(const char *searchkey, int full)
 {
        GSList *info, *key;
@@ -816,6 +820,7 @@ void keyboard_init(void)
        key_bind("command", "Run any IRC command", NULL, NULL, (SIGNAL_FUNC) sig_command);
        key_bind("key", "Specify name for key binding", NULL, NULL, (SIGNAL_FUNC) sig_key);
        key_bind("multi", "Run multiple commands", NULL, NULL, (SIGNAL_FUNC) sig_multi);
+       key_bind("nothing", "Do nothing", NULL, NULL, (SIGNAL_FUNC) sig_nothing);
 
        /* read the keyboard config when all key binds are known */
        signal_add("irssi init read settings", (SIGNAL_FUNC) read_keyboard_config);