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

@ -380,14 +380,15 @@ std::string handleVersion ()
std::string recognized =
" blanklines color color.active color.due color.overdue color.pri.H "
"color.pri.L color.pri.M color.pri.none color.recurring color.tagged "
"confirmation curses data.location dateformat default.command "
"default.priority defaultwidth displayweeknumber due echo.command locale "
"locking monthsperline nag next project shadow.command shadow.file "
"shadow.notify weekstart editor import.synonym.id import.synonym.uuid "
"import.synonym.status import.synonym.tags import.synonym.entry "
"import.synonym.start import.synonym.due import.synonym.recur "
"import.synonym.end import.synonym.project import.synonym.priority "
"import.synonym.fg import.synonym.bg import.synonym.description ";
"color.footnote color.message confirmation curses data.location dateformat "
"default.command default.priority defaultwidth displayweeknumber due "
"echo.command locale locking monthsperline nag next project shadow.command "
"shadow.file shadow.notify weekstart editor import.synonym.id "
"import.synonym.uuid import.synonym.status import.synonym.tags "
"import.synonym.entry import.synonym.start import.synonym.due "
"import.synonym.recur import.synonym.end import.synonym.project "
"import.synonym.priority import.synonym.fg import.synonym.bg "
"import.synonym.description ";
// This configuration variable is supported, but not documented. It exists
// so that unit tests can force color to be on even when the output from task