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) {