diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-05-03 07:39:32 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-05-03 07:39:32 +0100 |
commit | c03b57465bdf850026b3a5c478a63ca62212720f (patch) | |
tree | 1ef3bd82733294b065be71510cca94d510ef3d28 /options-table.c | |
parent | 40467726e3a985f0d7c064c6dcf7121f3266ab70 (diff) | |
download | rtmux-c03b57465bdf850026b3a5c478a63ca62212720f.tar.gz rtmux-c03b57465bdf850026b3a5c478a63ca62212720f.tar.bz2 rtmux-c03b57465bdf850026b3a5c478a63ca62212720f.zip |
Add different command historys for different types of prompts ("command",
"search" etc). From Anindya Mukherjee.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index 8264d1b7..91b4d747 100644 --- a/options-table.c +++ b/options-table.c @@ -301,6 +301,15 @@ const struct options_table_entry options_table[] = { .text = "Maximum number of server messages to keep." }, + { .name = "prompt-history-limit", + .type = OPTIONS_TABLE_NUMBER, + .scope = OPTIONS_TABLE_SERVER, + .minimum = 0, + .maximum = INT_MAX, + .default_num = 100, + .text = "Maximum number of commands to keep in history." + }, + { .name = "set-clipboard", .type = OPTIONS_TABLE_CHOICE, .scope = OPTIONS_TABLE_SERVER, |