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:
Paul Beckingham 2009-06-16 21:55:30 -04:00
parent e7a0a20d55
commit 8a22ac7cf2
8 changed files with 130 additions and 46 deletions

View file

@ -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;