NewsItem: Do not render _updates if not set

This commit is contained in:
Tomas Babej
2021-09-28 22:58:07 -04:00
parent 33d074e00c
commit 51a5916339

View File

@@ -128,7 +128,8 @@ void NewsItem::render () {
if (_punchline.size ())
std::cout << footnote.colorize (format ("{1}\n", _punchline));
std::cout << format ("{1}\n", _update);
if (_update.size ())
std::cout << format ("{1}\n", _update);
wait_for_enter ();