571 |
|
|
572 |
int cfg_history_max_lines; |
int cfg_history_max_lines; |
573 |
int cfg_history_max_commands; |
int cfg_history_max_commands; |
574 |
|
int cfg_history_display_default; |
575 |
|
|
576 |
t_config_option weechat_options_history[] = |
t_config_option weechat_options_history[] = |
577 |
{ { "history_max_lines", N_("max lines in history (per window)"), |
{ { "history_max_lines", N_("max lines in history (per window)"), |
583 |
N_("maximum number of user commands in history (0 = unlimited)"), |
N_("maximum number of user commands in history (0 = unlimited)"), |
584 |
OPTION_TYPE_INT, 0, INT_MAX, 100, |
OPTION_TYPE_INT, 0, INT_MAX, 100, |
585 |
NULL, NULL, &cfg_history_max_commands, NULL, &config_change_noop }, |
NULL, NULL, &cfg_history_max_commands, NULL, &config_change_noop }, |
586 |
|
{ "history_display_default", N_("max commands to display"), |
587 |
|
N_("maximum number of commands to display by default in history listing (0 = unlimited)"), |
588 |
|
OPTION_TYPE_INT, 0, INT_MAX, 5, |
589 |
|
NULL, NULL, &cfg_history_display_default, NULL, &config_change_noop }, |
590 |
{ NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } |
{ NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } |
591 |
}; |
}; |
592 |
|
|