1818#include < libbenbot/engine/ColorPrinting.hpp>
1919#include < libbenbot/engine/Engine.hpp>
2020#include < libchess/game/Position.hpp>
21- #include < libchess/util /Strings.hpp>
22- #include < libchess/util /TextTable.hpp>
21+ #include < libutil /Strings.hpp>
22+ #include < libutil /TextTable.hpp>
2323#include < ranges>
2424#include < string_view>
2525#include < termcolor/termcolor.hpp>
@@ -35,7 +35,7 @@ namespace {
3535 {
3636 using Lines = beman::inplace_vector::inplace_vector<string_view, MaxLines>;
3737
38- return chess:: util::strings::lines_view (input)
38+ return util::strings::lines_view (input)
3939 | std::views::take (MaxLines)
4040 | std::ranges::to<Lines>();
4141 }
@@ -57,13 +57,14 @@ void Engine::print_logo_and_version() const
5757 << termcolor::reset;
5858}
5959
60- void print_colored_table (const chess::util::strings::TextTable& table)
60+ void print_colored_table (
61+ const util::strings::TextTable& table)
6162{
6263 table.print (
6364 [](const string_view heading) {
6465 // we want the heading text to be underlined, but not the
6566 // whitespace that follows the text to complete the cell
66- const auto trimmed = chess:: util::strings::trim (heading);
67+ const auto trimmed = util::strings::trim (heading);
6768
6869 cout << termcolor::bold << termcolor::underline
6970 << trimmed
@@ -85,7 +86,8 @@ void print_colored_table(const chess::util::strings::TextTable& table)
8586 cout << termcolor::reset;
8687}
8788
88- void print_colored_board (const Position& pos, const bool utf8)
89+ void print_colored_board (
90+ const Position& pos, const bool utf8)
8991{
9092 const auto boardStr = utf8 ? print_utf8 (pos) : print_ascii (pos);
9193
@@ -101,7 +103,8 @@ void print_colored_board(const Position& pos, const bool utf8)
101103 << termcolor::reset;
102104}
103105
104- void print_labeled_info (const string_view label, const string_view info)
106+ void print_labeled_info (
107+ const string_view label, const string_view info)
105108{
106109 cout << termcolor::white << label << termcolor::reset << info << ' \n ' ;
107110}
0 commit comments