diff --git a/src/commands/CmdNews.cpp b/src/commands/CmdNews.cpp index 30e8029b7..17317a59b 100644 --- a/src/commands/CmdNews.cpp +++ b/src/commands/CmdNews.cpp @@ -59,7 +59,18 @@ static void signal_handler (int s) { if (s == SIGINT) { + Color footnote; + if (Context::getContext ().color ()) { + if (Context::getContext ().config.has ("color.footnote")) + footnote = Color (Context::getContext ().config.get ("color.footnote")); + } + std::cout << "\n\nCome back and read about new features later!\n"; + + std::cout << footnote.colorize ( + "\nIf you enjoy Taskwarrior, please consider supporting the project at:\n" + " https://github.com/sponsors/GothenburgBitFactory/\n" + ); exit (1); } }