From 0e1d12f5b1696cc28d2e57ad8c7a040e9adb94c9 Mon Sep 17 00:00:00 2001 From: Federico Hernandez Date: Tue, 12 Oct 2010 16:06:16 +0200 Subject: [PATCH] Feature #499 - added extra line of output when doing bulk done changes. --- ChangeLog | 2 ++ src/command.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index cb7f6e3c1..c5320aadc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -33,6 +33,8 @@ report. + Added feature #481, allowing for user control of the color rule order of precedence via the 'rule.precedence.color' configuration variable. + + Added feature #499, giving an extra line in the message output when + doing bulk done changes (thanks to T. Charles Yun). + New 'depends' column for custom reports. + New 'blocked' report for showing blocked tasks. + New 'unblocked' report for showing tasks that are not blocked. diff --git a/src/command.cpp b/src/command.cpp index 48ce4262c..996cc0bd2 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -1592,6 +1592,8 @@ int handleDone (std::string &outs) << " as done.\n"; outs = out.str (); + if (count > context.config.getInteger ("bulk")) + outs = "\n" + outs; context.hooks.trigger ("post-done-command"); }