summaryrefslogtreecommitdiffhomepage
path: root/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/HALKit/AMD64/HalDebugOutput.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Kernel/HALKit/AMD64/HalDebugOutput.cxx b/Kernel/HALKit/AMD64/HalDebugOutput.cxx
index eed8b60d..c652aa80 100644
--- a/Kernel/HALKit/AMD64/HalDebugOutput.cxx
+++ b/Kernel/HALKit/AMD64/HalDebugOutput.cxx
@@ -76,6 +76,17 @@ namespace Kernel
SizeT index = 0;
SizeT len = rt_string_len(bytes, 256);
+ const auto cColor = "\x1b[1;32m";
+ SizeT lenClr = rt_string_len(cColor, 256);
+
+ while (index < lenClr)
+ {
+ HAL::Out8(Detail::PORT, cColor[index]);
+ ++index;
+ }
+
+ index = 0;
+
while (index < len)
{
if (bytes[index] == '\r')