mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-14 17:46:03 +00:00
1.6.10 update
This commit is contained in:
parent
81485da646
commit
240155bce3
37 changed files with 809 additions and 350 deletions
4
dist/ba_data/python/efro/terminal.py
vendored
4
dist/ba_data/python/efro/terminal.py
vendored
|
|
@ -75,6 +75,10 @@ def _default_color_enabled() -> bool:
|
|||
if not sys.__stdout__.isatty():
|
||||
return False
|
||||
|
||||
# Another common way to say the terminal can't do fancy stuff like color:
|
||||
if os.environ.get('TERM') == 'dumb':
|
||||
return False
|
||||
|
||||
# On windows, try to enable ANSI color mode.
|
||||
if platform.system() == 'Windows':
|
||||
return _windows_enable_color()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue