diff options
author | nicm <nicm> | 2019-05-10 18:04:06 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-10 18:04:06 +0000 |
commit | 6dcca5fda4b21cb1903204d6945bd7b418858afd (patch) | |
tree | e16ce1b9e2b36df1cdd8eca9cbaa447d68a5d030 /cmd.c | |
parent | 004a9b52f0389700194d2789674a1fda90409438 (diff) | |
download | rtmux-6dcca5fda4b21cb1903204d6945bd7b418858afd.tar.gz rtmux-6dcca5fda4b21cb1903204d6945bd7b418858afd.tar.bz2 rtmux-6dcca5fda4b21cb1903204d6945bd7b418858afd.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 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |