summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-11-24 19:42:28 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-11-24 19:42:28 +0100
commit6d427421de28fb4d29e9dc0edca360219eb6571f (patch)
tree83d03c61968c1b011f3dd523271fb8459acccd0e /src/plugins/irc/irc-config.c
parentd4220e814467a78cb4912663de9f1106e6c8f2ce (diff)
downloadweechat-6d427421de28fb4d29e9dc0edca360219eb6571f.zip
irc: add option irc.look.list_buffer
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index c17173ff3..21606cfdb 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -93,6 +93,7 @@ struct t_config_option *irc_config_look_item_display_server = NULL;
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_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;
@@ -3332,6 +3333,14 @@ irc_config_init ()
"will in fact send: \"/join #weechat\""),
NULL, 0, 0, "off", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ irc_config_look_list_buffer = weechat_config_new_option (
+ irc_config_file, irc_config_section_look,
+ "list_buffer", "boolean",
+ N_("use a dedicated buffer for the output of /list"),
+ NULL, 0, 0, "on", 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",