[tor-bugs] #28299 [Core Tor/Nyx]: Custom colors for Nyx and tor-prompt are needed
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Nov 5 12:50:19 UTC 2018
#28299: Custom colors for Nyx and tor-prompt are needed
--------------------------+-----------------------------------
Reporter: wagon | Owner: atagar
Type: enhancement | Status: needs_information
Priority: Medium | Milestone:
Component: Core Tor/Nyx | Version: Tor: 0.3.4.8
Severity: Normal | Resolution:
Keywords: tor-prompt | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+-----------------------------------
Comment (by wagon):
> Are you talking about the `​color_override` `nyxrc` option?
No. In `m`(enu) -> `view` -> `color` you can select either `All` or
particular color (e.g. `Green`). If you select particular color, only this
color (and its bright type) is used for highlighting of all elements. If
you select `All`, each set of elements is highlighted using different
color, but you cannot select the color manually.
Let us consider an
[[https://nyx.torproject.org/images/screenshots/torrc.png|example
screenshot]] from the official site. Here you have `Yellow` for line
numbers, `Green` for names of options, and `Red` for the value `reject
*:*`. Suppose, you want to have different color scheme: `Green` for
`reject *:*`, `Yellow` for option names, and `Green` for line numbers. Can
you make this? No. This is what I would like to get implemented.
You can add `nyxrc` options like the following:
{{{
ColorType1 value1 # Used for highliting nyx menu, errors and reject
value.
ColorType2 value2 # Used for tor version value, download graph, normal
log mesages, and some options in config editor.
...
}}}
where each value can be `Red`, `BrightRed`, `Green`, `BrightGreen`, etc.
This is the approach many console applications are using.
In an ideal case, you could allow users to select different color for each
element, i.e. user will not be forced to select a single color for the
whole group of elements (an example of group: nyx menu, errors messages,
and reject value). Furthermore, you could add a support of RGB colors (can
be used in some modern terminals).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28299#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list