Ready for alpha 0.4.0 (the final alpha version (hopefully)) #72

Merged
That-One-Nerd merged 16 commits from shell-configuration into main 2023-04-25 17:42:32 -04:00
Showing only changes of commit 318c8119a0 - Show all commits

View File

@ -157,8 +157,9 @@ public static class ConfigModule
Write(new string(' ', indents * 4) + "]", ConsoleColor.DarkGray, newLine);
}
else if (item is byte itemByte) Write($"0x{itemByte:X2}", ConsoleColor.Yellow, newLine);
else if (item is sbyte or short or ushort or int or uint or long or ulong)
else if (item is sbyte or short or ushort or int or uint or long or ulong or float or double or decimal)
Write(item, ConsoleColor.Yellow, newLine);
else if (item is bool itemBool) Write(item, itemBool ? ConsoleColor.Green : ConsoleColor.Red, newLine);
else if (item is char)
{
Write("\'", ConsoleColor.DarkGray, false);