From 2a969585a1de7cabd8cc1c39fcdd555578e0d97f Mon Sep 17 00:00:00 2001 From: kannibalox Date: Thu, 9 Jan 2025 14:11:22 -0500 Subject: [PATCH] Add blurb about color support --- User-Guide.md | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/User-Guide.md b/User-Guide.md index be4ac57..6ab119c 100644 --- a/User-Guide.md +++ b/User-Guide.md @@ -25,7 +25,7 @@ * [The Tracker list screen](#the-tracker-list-screen) * [The Chunks seen screen](#the-chunks-seen-screen) * [Signal handlers](#signal-handlers) - +* [Color Support](#color-support) ## Adding and removing torrents ## | Shortcut | Description | @@ -108,6 +108,7 @@ This message is caused by deleting/modifying the downloaded file after a torrent | ------------- | ------------- | | right | Switch to selected view | | left | Switch to view selection or back to main view | +| page up/page down | Move up/down multiple items. | | 1/2 | Adjust min uploads. | | 3/4 | Adjust max uploads. | | !/@ | Adjust min downloads. | @@ -399,4 +400,44 @@ If the chunk is in **bold** it means you do not have that chunk yet, if it is [on ] +``` +The available attributes are: `bold, standout, underline, reverse, blink, dim, bright` +The available colors are: `black, red, green, yellow, blue, magenta, cyan, white, grey (or gray)` +As an example: `bold green on bright blue` or `bold green` or even just `green` + +256 terminal colors are required for the full range of color settings, however basic colors can still be used with 8 terminal colors. See your terminal's documentation if necessary for how to configure its color range. + +Here is a fully commented example configuration: +```ini +# Sets the title color +ui.color.title.set = "bold black on bright blue" +# Sets the footer color +ui.color.footer.set = "bold black on blue" +# Sets the focus color. The other color settings take precedence over this, so normally it's just an attribute +ui.color.focus.set = "reverse" +# The default label color +ui.color.label.set = "" +# If the torrent is complete, active and not uploading data +ui.color.complete.set = "green" +# If the torrent is complete, active and uploading data +ui.color.seeding.set = "blue" +# If the torrent is complete and not active +ui.color.stopped.set = "red" +# If the torrent is incomplete, active and not downloading data +ui.color.queued.set = "cyan" +# If the torrent is incomplete, active and downloading data +ui.color.leeching.set = "yellow" +# If the torrent is incomplete and not active +ui.color.incomplete.set = "cyan" +# Colors the odd rows +ui.color.odd.set = "bold" +# Colors the even rows +ui.color.even.set = "" +``` \ No newline at end of file