mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #470 - 'task rc.color.alternate:none list' shows incorrect colors
- Fixed bug #470, which caused task to not support the color 'none'. Simultaneous vitapi bug fix.
This commit is contained in:
parent
612c613764
commit
d460e604ff
2 changed files with 12 additions and 8 deletions
|
@ -55,6 +55,7 @@
|
|||
used, with few tasks.
|
||||
+ Fixed bug #466, which gave the wrong error message when a custom report
|
||||
was missing a direction indicator for the sort order.
|
||||
+ Fixed bug #470, which caused task to not support the color 'none'.
|
||||
+ Fixed problem with command line configuration overrides that had no
|
||||
values.
|
||||
+ Fixed problem with the 'undo' command not observing the rc.color or the
|
||||
|
|
|
@ -126,6 +126,8 @@ Color::Color (const std::string& spec)
|
|||
|
||||
// X where X is one of black, red, blue ...
|
||||
else if ((index = find (word)) != -1)
|
||||
{
|
||||
if (index)
|
||||
{
|
||||
if (bg)
|
||||
{
|
||||
|
@ -138,6 +140,7 @@ Color::Color (const std::string& spec)
|
|||
fg_value |= index;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// greyN/grayN, where 0 <= N <= 23.
|
||||
else if (word.substr (0, 4) == "grey" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue