diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-04-21 16:01:18 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-04-21 16:01:18 +0100 |
commit | 4612419c143c3f748bc5f6ccd467c7c0014e8d48 (patch) | |
tree | 42929aeeb8b1d89abf639124412199fac7092f04 /cmd-list-keys.c | |
parent | 93062ad09952f411d48818b05dc9898bc14dcfde (diff) | |
parent | c799425069d02675474cda312fac1457829052fb (diff) | |
download | rtmux-4612419c143c3f748bc5f6ccd467c7c0014e8d48.tar.gz rtmux-4612419c143c3f748bc5f6ccd467c7c0014e8d48.tar.bz2 rtmux-4612419c143c3f748bc5f6ccd467c7c0014e8d48.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-list-keys.c')
-rw-r--r-- | cmd-list-keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-list-keys.c b/cmd-list-keys.c index ebc221e5..a46e05f5 100644 --- a/cmd-list-keys.c +++ b/cmd-list-keys.c @@ -81,7 +81,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item) RB_FOREACH(bd, key_bindings, &table->key_bindings) { key = key_string_lookup_key(bd->key); - if (bd->can_repeat) + if (bd->flags & KEY_BINDING_REPEAT) repeat = 1; width = utf8_cstrwidth(table->name); @@ -101,7 +101,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item) if (!repeat) r = ""; - else if (bd->can_repeat) + else if (bd->flags & KEY_BINDING_REPEAT) r = "-r "; else r = " "; |