mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - header, footer, message
- Added header, footer and message sinks. - Added individual colorization of headers, footers and messages. - Added new configuration variables to Config.cpp, taskrc.5. - Added colorization functions to rules.cpp
This commit is contained in:
parent
e7a0a20d55
commit
8a22ac7cf2
8 changed files with 130 additions and 46 deletions
|
@ -52,6 +52,7 @@ public:
|
|||
|
||||
int getWidth (); // determine terminal width
|
||||
|
||||
void header (const std::string&); // Header sink
|
||||
void message (const std::string&); // Message sink
|
||||
void footnote (const std::string&); // Footnote sink
|
||||
|
||||
|
@ -76,6 +77,7 @@ public:
|
|||
std::vector <std::string> tagRemovals;
|
||||
|
||||
private:
|
||||
std::vector <std::string> headers;
|
||||
std::vector <std::string> messages;
|
||||
std::vector <std::string> footnotes;
|
||||
bool inShadow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue