mirror of
https://github.com/tmux/tmux.git
synced 2025-03-22 12:58:48 +00:00
Use the right index for user-keys.
This commit is contained in:
parent
fc3d85e34b
commit
84e4652513
@ -429,6 +429,7 @@ tty_keys_build(struct tty *tty)
|
||||
if (o != NULL) {
|
||||
a = options_array_first(o);
|
||||
while (a != NULL) {
|
||||
i = options_array_item_index(a);
|
||||
ov = options_array_item_value(a);
|
||||
tty_keys_add(tty, ov->string, KEYC_USER + i);
|
||||
a = options_array_next(a);
|
||||
|
Loading…
Reference in New Issue
Block a user