mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - echo ID on add
- When a task is added, the new ID is echoed back, for convenience. This requires a scan of the pending file, so there is a performance hit, and the feature is controlled by the FEATURE_NEW_ID define.
This commit is contained in:
parent
02518e0223
commit
f5e0f8b7a6
4 changed files with 17 additions and 9 deletions
|
@ -283,12 +283,12 @@ std::string colorizeFootnote (const std::string& input)
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string colorizeDebug (const std::string& input)
|
||||
{
|
||||
if (gsFg["debug.footnote"] != Text::nocolor ||
|
||||
gsBg["debug.footnote"] != Text::nocolor)
|
||||
if (gsFg["color.debug"] != Text::nocolor ||
|
||||
gsBg["color.debug"] != Text::nocolor)
|
||||
{
|
||||
return Text::colorize (
|
||||
gsFg["debug.footnote"],
|
||||
gsBg["debug.footnote"],
|
||||
gsFg["color.debug"],
|
||||
gsBg["color.debug"],
|
||||
input);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue