mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 18:53:12 +02:00
irc: add option -export in command /list, add option irc.look.list_buffer_format_export
This commit is contained in:
@@ -95,6 +95,7 @@ struct t_config_option *irc_config_look_item_nick_modes = NULL;
|
||||
struct t_config_option *irc_config_look_item_nick_prefix = NULL;
|
||||
struct t_config_option *irc_config_look_join_auto_add_chantype = NULL;
|
||||
struct t_config_option *irc_config_look_list_buffer = NULL;
|
||||
struct t_config_option *irc_config_look_list_buffer_format_export = NULL;
|
||||
struct t_config_option *irc_config_look_list_buffer_scroll_horizontal = NULL;
|
||||
struct t_config_option *irc_config_look_list_buffer_sort = NULL;
|
||||
struct t_config_option *irc_config_look_list_buffer_topic_strip_colors = NULL;
|
||||
@@ -3406,6 +3407,15 @@ irc_config_init ()
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
irc_config_look_list_buffer_format_export = weechat_config_new_option (
|
||||
irc_config_file, irc_config_section_look,
|
||||
"list_buffer_format_export", "string",
|
||||
N_("format of each channel exported in a file "
|
||||
"(note: content is evaluated, see /help list)"),
|
||||
NULL, 0, 0, "${name} (${users}): \"${topic}\"", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
irc_config_look_list_buffer_scroll_horizontal = weechat_config_new_option (
|
||||
irc_config_file, irc_config_section_look,
|
||||
"list_buffer_scroll_horizontal", "integer",
|
||||
|
||||
Reference in New Issue
Block a user