mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-29 07:47:59 +00:00
Update color codes for different node types in ls command
This commit is contained in:
parent
4397763e72
commit
ae67df10ff
@ -28,17 +28,19 @@ const char *ColorNodeType(Node *node)
|
|||||||
switch (node->Type)
|
switch (node->Type)
|
||||||
{
|
{
|
||||||
case NodeType::DIRECTORY:
|
case NodeType::DIRECTORY:
|
||||||
return "\e44FF22";
|
return "\e3871F5";
|
||||||
case NodeType::BLOCKDEVICE:
|
case NodeType::BLOCKDEVICE:
|
||||||
|
return "\eE8CD1E";
|
||||||
case NodeType::CHARDEVICE:
|
case NodeType::CHARDEVICE:
|
||||||
return "\eFF22AA";
|
return "\e86E01F";
|
||||||
case NodeType::PIPE:
|
case NodeType::PIPE:
|
||||||
return "\eFFAA22";
|
return "\eE0991F";
|
||||||
case NodeType::SYMLINK:
|
case NodeType::SYMLINK:
|
||||||
return "\eFF22FF";
|
return "\e1FB9E0";
|
||||||
case NodeType::FILE:
|
case NodeType::FILE:
|
||||||
default:
|
|
||||||
return "\eCCCCCC";
|
return "\eCCCCCC";
|
||||||
|
default:
|
||||||
|
return "\eF72020";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user