mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-06 17:37:21 +02:00
Code Cleanup
- Implemented Context::color to hide the color override details, then integrated it.
This commit is contained in:
parent
b0ff1ff55b
commit
1506ee67f4
8 changed files with 84 additions and 111 deletions
|
@ -59,6 +59,8 @@ public:
|
|||
int getWidth (); // determine terminal width
|
||||
int getHeight (); // determine terminal height
|
||||
|
||||
bool color (); // TTY or <other>?
|
||||
|
||||
void header (const std::string&); // Header message sink
|
||||
void footnote (const std::string&); // Footnote message sink
|
||||
void debug (const std::string&); // Debug message sink
|
||||
|
@ -96,6 +98,7 @@ public:
|
|||
std::vector <std::string> tagRemovals;
|
||||
Hooks hooks;
|
||||
DOM dom;
|
||||
bool use_color;
|
||||
|
||||
std::vector <std::string> headers;
|
||||
std::vector <std::string> footnotes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue