mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Linux color fix
This commit is contained in:
parent
585b856ff3
commit
0b73451502
1 changed files with 2 additions and 2 deletions
|
@ -204,8 +204,8 @@ namespace System
|
|||
let bgColor = BackgroundColor.ConsoleTextAttribute;
|
||||
SetConsoleTextAttribute(handle, bgColor * 16 + fgColor);
|
||||
#else
|
||||
Write("\x1B[{}m", ForegroundColor.ToAnsi());
|
||||
Write("\x1B[{}m", BackgroundColor.ToAnsi() + 10);
|
||||
Write("\x1B[{}m", ForegroundColor.AnsiCode);
|
||||
Write("\x1B[{}m", BackgroundColor.AnsiCode + 10);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue