Tidying
This commit is contained in:
@@ -28,12 +28,10 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
) {
|
||||
Logger::info("Handling HelpMonitorInfo packet");
|
||||
|
||||
static constexpr auto LEFT_PADDING = std::string::size_type{3};
|
||||
|
||||
static constexpr auto CMD_COLOR = StringService::TerminalColor::DARK_YELLOW;
|
||||
static constexpr auto PARAM_COLOR = StringService::TerminalColor::BLUE;
|
||||
|
||||
static const auto leftPadding = std::string{LEFT_PADDING, ' ', std::string::allocator_type{}};
|
||||
static const auto leftPadding = std::string{std::string::size_type{3}, ' ', std::string::allocator_type{}};
|
||||
|
||||
auto output = std::string{"\nSupported Bloom commands:\n\n"};
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
output += registerDescriptor.name + ", ";
|
||||
output += StringService::applyTerminalColor(
|
||||
"0x" + StringService::asciiToUpper(StringService::toHex(registerDescriptor.startAddress)),
|
||||
StringService::TerminalColor::DARK_BLUE
|
||||
StringService::TerminalColor::BLUE
|
||||
) + ", ";
|
||||
output += std::to_string(registerDescriptor.size) + " byte(s)";
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
auto output = std::string{"\nName: " + registerDescriptor.name + "\n"};
|
||||
output += "Address: " + StringService::applyTerminalColor(
|
||||
"0x" + StringService::asciiToUpper(StringService::toHex(registerDescriptor.startAddress)),
|
||||
StringService::TerminalColor::DARK_BLUE
|
||||
StringService::TerminalColor::BLUE
|
||||
) + "\n";
|
||||
output += "Size: " + std::to_string(registerDescriptor.size) + " byte(s)\n\n";
|
||||
|
||||
@@ -181,7 +181,7 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
output += registerDescriptor.name + ", ";
|
||||
output += StringService::applyTerminalColor(
|
||||
"0x" + StringService::asciiToUpper(StringService::toHex(registerDescriptor.startAddress)),
|
||||
StringService::TerminalColor::DARK_BLUE
|
||||
StringService::TerminalColor::BLUE
|
||||
) + ", ";
|
||||
output += std::to_string(registerDescriptor.size) + " byte(s) | ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user