mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +02:00
View
- Converted history reports to use ViewText. - Fixed unit test.
This commit is contained in:
parent
fcb711d673
commit
ec7d9ed765
5 changed files with 103 additions and 144 deletions
|
@ -57,9 +57,9 @@ int shortUsage (std::string& outs)
|
|||
{
|
||||
ViewText view;
|
||||
view.width (context.getWidth ());
|
||||
view.add ("");
|
||||
view.add ("");
|
||||
view.add ("");
|
||||
view.add (Column::factory ("string", ""));
|
||||
view.add (Column::factory ("string", ""));
|
||||
view.add (Column::factory ("string", ""));
|
||||
|
||||
int row = view.addRow ();
|
||||
view.set (row, 0, "Usage:");
|
||||
|
@ -1762,8 +1762,8 @@ int handleReportStats (std::string& outs)
|
|||
ViewText view;
|
||||
view.width (context.getWidth ());
|
||||
view.intraPadding (2);
|
||||
view.add ("Category");
|
||||
view.add ("Data");
|
||||
view.add (Column::factory ("string", "Category"));
|
||||
view.add (Column::factory ("string", "Data"));
|
||||
|
||||
int row = view.addRow ();
|
||||
view.set (row, 0, "Pending");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue