mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 16:27:03 +00:00
Separate key flags and modifiers, log key flags, make the "xterm" flag more
explicit and fix M- keys with a leading escape.
This commit is contained in:
2
menu.c
2
menu.c
@ -81,7 +81,7 @@ menu_add_item(struct menu *menu, const struct menu_item *item,
|
||||
return;
|
||||
}
|
||||
if (*s != '-' && item->key != KEYC_UNKNOWN && item->key != KEYC_NONE) {
|
||||
key = key_string_lookup_key(item->key);
|
||||
key = key_string_lookup_key(item->key, 0);
|
||||
xasprintf(&name, "%s#[default] #[align=right](%s)", s, key);
|
||||
} else
|
||||
xasprintf(&name, "%s", s);
|
||||
|
Reference in New Issue
Block a user