mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdTags: Migrated from ViewText to Table
This commit is contained in:
parent
624ccd12fc
commit
7a0707342b
1 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <ViewText.h>
|
||||
#include <Table.h>
|
||||
#include <format.h>
|
||||
#include <util.h>
|
||||
#include <i18n.h>
|
||||
|
@ -92,10 +92,10 @@ int CmdTags::execute (std::string& output)
|
|||
if (unique.size ())
|
||||
{
|
||||
// Render a list of tags names from the map.
|
||||
ViewText view;
|
||||
Table view;
|
||||
view.width (context.getWidth ());
|
||||
view.add (Column::factory ("string", STRING_COLUMN_LABEL_TAG));
|
||||
view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_COUNT));
|
||||
view.add (STRING_COLUMN_LABEL_TAG);
|
||||
view.add (STRING_COLUMN_LABEL_COUNT, false);
|
||||
|
||||
Color bold;
|
||||
if (context.color ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue