mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 04:02:30 +00:00
Merge chros73 suggestions (settings to exclude views and hide info logs)
- Certain views can be excluded from subfiltering via view.temp_filter.excluded config option
- its default value: "default,started,stopped"
- example usage in config: view.temp_filter.excluded.set="default,started,stopped,leeching"
- Log messages can be displayed when temp filtering occured
- disabled by default
- can be enabled with: ui.console.log.tempfilter.set=1
This commit is contained in:
@@ -605,6 +605,9 @@ initialize_command_ui() {
|
||||
CMD2_ANY ("ui.current_view", std::bind(&cmd_ui_current_view));
|
||||
CMD2_ANY_STRING("ui.current_view.set", std::bind(&cmd_ui_set_view, std::placeholders::_2));
|
||||
|
||||
CMD2_VAR_STRING("view.temp_filter.excluded", "default,started,stopped");
|
||||
CMD2_VAR_BOOL ("ui.console.log.tempfilter", 0);
|
||||
|
||||
// TODO: Add 'option_string' for rtorrent-specific options.
|
||||
CMD2_VAR_STRING("ui.torrent_list.layout", "full");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user