Feature #934
- 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:
@@ -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 ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user