Added color and history to cheriot debug cli PiperOrigin-RevId: 903386333 Change-Id: Idb8797feb1ad25363563c7eed6d287dd5dd00f27
diff --git a/riscv/debug_command_shell.cc b/riscv/debug_command_shell.cc index 36ae310..8c68cee 100644 --- a/riscv/debug_command_shell.cc +++ b/riscv/debug_command_shell.cc
@@ -408,7 +408,9 @@ auto result = core_access_[current_core_].debug_interface->ReadRegister(name); if (result.ok()) { - os << absl::StrCat(name, " = ", absl::Hex(result.value())) << std::endl; + os << absl::StrCat(kValueColor, name, " = ", absl::Hex(result.value()), + kDefaultColor) + << std::endl; } else { os << "Error: " << result.status().message() << std::endl; }