From ecdb96f7e1fba2ff9e247f915f7b6ed047edef44 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 17 Dec 2016 13:40:46 -0500 Subject: [PATCH] CmdColor: Migrated from ViewText to Table --- src/commands/CmdColor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/CmdColor.cpp b/src/commands/CmdColor.cpp index 231bf3ab7..cb9474b84 100644 --- a/src/commands/CmdColor.cpp +++ b/src/commands/CmdColor.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include @@ -74,10 +74,10 @@ int CmdColor::execute (std::string& output) { out << '\n' << STRING_CMD_COLOR_HERE << '\n'; - ViewText view; + Table view; view.width (context.getWidth ()); - view.add (Column::factory ("string", STRING_CMD_COLOR_COLOR)); - view.add (Column::factory ("string", STRING_CMD_COLOR_DEFINITION)); + view.add (STRING_CMD_COLOR_COLOR); + view.add (STRING_CMD_COLOR_DEFINITION); for (auto& item : context.config) {