aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-10 18:04:06 +0000
committernicm <nicm>2019-05-10 18:04:06 +0000
commit6dcca5fda4b21cb1903204d6945bd7b418858afd (patch)
treee16ce1b9e2b36df1cdd8eca9cbaa447d68a5d030 /cmd.c
parent004a9b52f0389700194d2789674a1fda90409438 (diff)
downloadrtmux-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd.c b/cmd.c
index c81ed12d..59f2d4e9 100644
--- a/cmd.c
+++ b/cmd.c
@@ -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,