Commands
- New 'exec' command that runs external programs, implemented by CmdExec. - Restructured code so that only Commands implements ::read_only and ::displays_id methods, while derived objects simply set flags. - Corrected column alignment in summary report.
This commit is contained in:
@@ -788,9 +788,9 @@ int handleReportSummary (std::string& outs)
|
||||
ViewText view;
|
||||
view.width (context.getWidth ());
|
||||
view.add (Column::factory ("string", "Project"));
|
||||
view.add (Column::factory ("string", "Remaining"));
|
||||
view.add (Column::factory ("string", "Avg age"));
|
||||
view.add (Column::factory ("string", "Complete"));
|
||||
view.add (Column::factory ("string.right", "Remaining"));
|
||||
view.add (Column::factory ("string.right", "Avg age"));
|
||||
view.add (Column::factory ("string.right", "Complete"));
|
||||
view.add (Column::factory ("string", "0% 100%"));
|
||||
|
||||
Color bar_color (context.config.get ("color.summary.bar"));
|
||||
|
||||
Reference in New Issue
Block a user