- Feature #934, supports 'reserved.lines' to indicate a multi-line prompt for
  use in conjunction with 'limit:page' (thanks to Robert Gill).
- Removed 'locale' from the taskrc.5 man page.
- Added verbosity token 'sync'.
- Fixed bug in size calculation for 'limit:page', but there is still one more.
- Corrected unit test limit.t given the above fix.
This commit is contained in:
Paul Beckingham 2012-10-06 14:52:41 -04:00
parent 9cbd729553
commit c5ff24358c
11 changed files with 62 additions and 12 deletions

View file

@ -451,6 +451,9 @@ bool Context::color ()
// rc.verbose=nothing Show the absolute minimum.
// rc.verbose=one,two Show verbosity for 'one' and 'two' only.
//
// TODO This mechanism is clunky, and should slowly evolve into something more
// logical and consistent. This should probably mean that 'nothing' should
// take the place of '0'.
bool Context::verbose (const std::string& token)
{
if (! verbosity.size ())
@ -470,7 +473,8 @@ bool Context::verbose (const std::string& token)
verbosity[0] != "affected" && //
verbosity[0] != "edit" && //
verbosity[0] != "special" && //
verbosity[0] != "project") //
verbosity[0] != "project" && //
verbosity[0] != "sync") //
{
verbosity.clear ();