Include modifiers when looking up an individual key.

This commit is contained in:
nicm 2021-04-13 16:00:47 +00:00 committed by Nicholas Marriott
parent bab7a9a085
commit 57d5f67552

View File

@ -165,7 +165,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item)
cmdq_error(item, "invalid key: %s", args->argv[0]);
return (CMD_RETURN_ERROR);
}
only &= KEYC_MASK_KEY;
only &= (KEYC_MASK_KEY|KEYC_MASK_MODIFIERS);
}
tablename = args_get(args, 'T');