Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop com_ansiColor and always print in terminal colors #80

Open
wtfbbqhax opened this issue May 6, 2018 · 0 comments
Open

Drop com_ansiColor and always print in terminal colors #80

wtfbbqhax opened this issue May 6, 2018 · 0 comments
Assignees

Comments

@wtfbbqhax
Copy link
Member

Drop com_ansiColor and always print in terminal colors

Always print in color, all consoles we care about will support it. Remove com_ansiColor and always print colors to consoles.

Note, that if the output handle isn't a console (e.g., is a file) we should dump in straight ascii and remove the color control characters altogether.

Example: Dont print like this

WARNING: NET_JoinMulticast6: Incorrect multicast address given, please set cvar net_mcast6addr to a sane value.
bad filter name
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
]\r_full
    r_fullbright = "0"
    r_fullscreen = "0"
]\r_fullscreen 1
^1Sys_OpenWithDefault: failed to start child process.^7
^1FS_BrowseHomepath: failed to open the homepath with the default file manager.
]\quit
----- Client Shutdown (Client quit) -----
RE_Shutdown( 1 )
------- FBO_Shutdown -------
------- R_ShutdownVaos -------
------- GLSL_ShutdownGPUShaders -------
Hunk_Clear: reset the hunk ok
Closing SDL audio device...

*SDL audio device shut down.*

~/D/w/t/b/release-darwin-x86_64 ❯❯❯
@wtfbbqhax wtfbbqhax self-assigned this May 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant