diff options
author | 2019-05-10 18:04:06 +0000 | |
---|---|---|
committer | 2019-05-10 18:04:06 +0000 | |
commit | 3546f4c9d7222217295f53482140bcb81efab8e5 (patch) | |
tree | 6120d1b07ee95901b9a5c9d120fbc31ada8b32c3 /usr.bin/tmux/cmd.c | |
parent | tweak previous: fix three wrong macros and one missing macro (diff) | |
download | wireguard-openbsd-3546f4c9d7222217295f53482140bcb81efab8e5.tar.xz wireguard-openbsd-3546f4c9d7222217295f53482140bcb81efab8e5.zip |
Add support for simple menus usable with mouse or keyboard. New command
display-menu shows a menu (bound to the mouse on status line by default)
and a couple of extra formats for the default menus.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
-rw-r--r-- | usr.bin/tmux/cmd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c index abb2e9a2917..e36a395e909 100644 --- a/usr.bin/tmux/cmd.c +++ b/usr.bin/tmux/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.147 2019/05/08 18:05:03 nicm Exp $ */ +/* $OpenBSD: cmd.c,v 1.148 2019/05/10 18:04:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -42,6 +42,7 @@ extern const struct cmd_entry cmd_confirm_before_entry; extern const struct cmd_entry cmd_copy_mode_entry; extern const struct cmd_entry cmd_delete_buffer_entry; extern const struct cmd_entry cmd_detach_client_entry; +extern const struct cmd_entry cmd_display_menu_entry; extern const struct cmd_entry cmd_display_message_entry; extern const struct cmd_entry cmd_display_panes_entry; extern const struct cmd_entry cmd_down_pane_entry; @@ -130,6 +131,7 @@ const struct cmd_entry *cmd_table[] = { &cmd_copy_mode_entry, &cmd_delete_buffer_entry, &cmd_detach_client_entry, + &cmd_display_menu_entry, &cmd_display_message_entry, &cmd_display_panes_entry, &cmd_find_window_entry, |