WeeChat DevCenter

Tag - option

Entries feed

Friday, December 25 2015

Inherited option values

Options can now have a parent option, and the value of option inherits from parent when it is null (if null is allowed).

For now, only IRC server options (irc.server.<name>.xxx) are inheriting from parent options (irc.server_default.<name>.xxx).

The command /set shows the inherited value (and the default inherited if the value is set to null). Script iset.pl has been updated as well (version 4.0 supports this feature, and is compatible with old WeeChat).

Enjoy and Merry Christmas!

Screenshot of this new feature (click for full size):

weechat_set_inherited_values.png