diff options
author | nicm <nicm> | 2021-06-10 07:50:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-06-10 07:50:03 +0000 |
commit | 866117636e47c9a5d961df2ac40456b7c910a932 (patch) | |
tree | 516d26a3477989117ad29f0276d0c33ca8cc0743 /cmd.c | |
parent | 6c659494f5591ebba2ef91e6cfa6a24761c14915 (diff) | |
download | rtmux-866117636e47c9a5d961df2ac40456b7c910a932.tar.gz rtmux-866117636e47c9a5d961df2ac40456b7c910a932.tar.bz2 rtmux-866117636e47c9a5d961df2ac40456b7c910a932.zip |
Add different command historys for different types of prompts
("command", "search" etc). From Anindya Mukherjee.
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,7 @@ extern const struct cmd_entry cmd_choose_buffer_entry; extern const struct cmd_entry cmd_choose_client_entry; extern const struct cmd_entry cmd_choose_tree_entry; extern const struct cmd_entry cmd_clear_history_entry; +extern const struct cmd_entry cmd_clear_prompt_history_entry; extern const struct cmd_entry cmd_clock_mode_entry; extern const struct cmd_entry cmd_command_prompt_entry; extern const struct cmd_entry cmd_confirm_before_entry; @@ -105,6 +106,7 @@ extern const struct cmd_entry cmd_show_environment_entry; extern const struct cmd_entry cmd_show_hooks_entry; extern const struct cmd_entry cmd_show_messages_entry; extern const struct cmd_entry cmd_show_options_entry; +extern const struct cmd_entry cmd_show_prompt_history_entry; extern const struct cmd_entry cmd_show_window_options_entry; extern const struct cmd_entry cmd_source_file_entry; extern const struct cmd_entry cmd_split_window_entry; @@ -127,6 +129,7 @@ const struct cmd_entry *cmd_table[] = { &cmd_choose_client_entry, &cmd_choose_tree_entry, &cmd_clear_history_entry, + &cmd_clear_prompt_history_entry, &cmd_clock_mode_entry, &cmd_command_prompt_entry, &cmd_confirm_before_entry, @@ -195,6 +198,7 @@ const struct cmd_entry *cmd_table[] = { &cmd_show_hooks_entry, &cmd_show_messages_entry, &cmd_show_options_entry, + &cmd_show_prompt_history_entry, &cmd_show_window_options_entry, &cmd_source_file_entry, &cmd_split_window_entry, |