Docs: Removed references to $TERM, which is irrelevant anyway

This commit is contained in:
Paul Beckingham 2017-02-26 11:08:15 -05:00
parent 1751bbaea6
commit f28b68661d
2 changed files with 6 additions and 22 deletions

View file

@ -398,15 +398,12 @@ int CmdDiagnostics::execute (std::string& output)
out << bold.colorize (STRING_CMD_DIAG_TESTS)
<< '\n';
// Determine terminal details.
const char* term = getenv ("TERM");
out << " $TERM: "
<< (term ? term : STRING_CMD_DIAG_NONE)
<< " ("
// Report terminal dimensions.
out << " Terminal: "
<< context.getWidth ()
<< 'x'
<< context.getHeight ()
<< ")\n";
<< '\n';
// Scan tasks for duplicate UUIDs.
auto all = context.tdb2.all_tasks ();