MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / get_prefix_text

Method get_prefix_text

src/indicators.hpp:2449–2455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2447 }
2448
2449 std::pair<std::string, int> get_prefix_text() {
2450 std::stringstream os;
2451 os << get_value<details::ProgressBarOption::prefix_text>();
2452 const auto result = os.str();
2453 const auto result_size = unicode::display_width(result);
2454 return {result, result_size};
2455 }
2456
2457 std::pair<std::string, int> get_postfix_text() {
2458 std::stringstream os;

Callers

nothing calls this directly

Calls 2

display_widthFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected