mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Feature #800
- Added feature #800, adding a new command 'columns' that lists all the columns available for custom reports, and includes their formatting options (thanks to T. Charles Yun).
This commit is contained in:
parent
3a5370ddf1
commit
27a04b29f5
28 changed files with 372 additions and 64 deletions
|
@ -115,7 +115,7 @@ std::string ViewText::render ()
|
|||
for (unsigned int col = 0; col < _columns.size (); ++col)
|
||||
{
|
||||
// Headers factor in to width calculations.
|
||||
int global_min = utf8_length (_columns[col]->getLabel ());
|
||||
int global_min = utf8_length (_columns[col]->label ());
|
||||
int global_ideal = global_min;
|
||||
|
||||
for (unsigned int row = 0; row < _data.size (); ++row)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue