mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- The 'diagnostics' command obeys color settings.
This commit is contained in:
parent
4f30dce20a
commit
cb2b1b1e37
2 changed files with 4 additions and 1 deletions
|
@ -165,6 +165,7 @@
|
|||
- Segfault when 'project:android' is split into 'and' and 'roid' (thanks to
|
||||
Richard Boß).
|
||||
- Fixed typo in 'newest' and 'oldest' report definitions (thanks to Richard Boß).
|
||||
- The 'diagnostics' command obeys color settings.
|
||||
|
||||
------ current release ---------------------------
|
||||
|
||||
|
|
|
@ -64,7 +64,9 @@ CmdDiagnostics::CmdDiagnostics ()
|
|||
// kind of questions we always have to ask whenever something is wrong.
|
||||
int CmdDiagnostics::execute (std::string& output)
|
||||
{
|
||||
Color bold ("bold");
|
||||
Color bold;
|
||||
if (context.color ())
|
||||
bold = Color ("bold");
|
||||
|
||||
std::stringstream out;
|
||||
out << "\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue