version 1.25, 2016/01/19 15:59:12 |
version 1.26, 2016/10/10 21:51:39 |
|
|
* Unbind key from command. |
* Unbind key from command. |
*/ |
*/ |
|
|
enum cmd_retval cmd_unbind_key_exec(struct cmd *, struct cmd_q *); |
static enum cmd_retval cmd_unbind_key_exec(struct cmd *, struct cmd_q *); |
enum cmd_retval cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *, |
static enum cmd_retval cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *, |
key_code); |
key_code); |
|
|
const struct cmd_entry cmd_unbind_key_entry = { |
const struct cmd_entry cmd_unbind_key_entry = { |
.name = "unbind-key", |
.name = "unbind-key", |
|
|
.exec = cmd_unbind_key_exec |
.exec = cmd_unbind_key_exec |
}; |
}; |
|
|
enum cmd_retval |
static enum cmd_retval |
cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq) |
cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq) |
{ |
{ |
struct args *args = self->args; |
struct args *args = self->args; |
|
|
return (CMD_RETURN_NORMAL); |
return (CMD_RETURN_NORMAL); |
} |
} |
|
|
enum cmd_retval |
static enum cmd_retval |
cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, key_code key) |
cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, key_code key) |
{ |
{ |
struct args *args = self->args; |
struct args *args = self->args; |