mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: display error on "/key bind meta- ..." (incomplete meta key)
This commit is contained in:
+1
-1
@@ -723,7 +723,7 @@ struct t_gui_key *
|
||||
gui_key_bind (struct t_gui_buffer *buffer, int context, const char *key,
|
||||
const char *command)
|
||||
{
|
||||
if (!key || !command)
|
||||
if (!key || !command || (string_strcasecmp (key, "meta-") == 0))
|
||||
return NULL;
|
||||
|
||||
gui_key_unbind (buffer, context, key);
|
||||
|
||||
Reference in New Issue
Block a user