mirror of
https://github.com/minetest/minetest.git
synced 2025-01-08 22:37:32 +01:00
Remove handling of MT_LOGCOLOR env variable
This commit is contained in:
parent
d60189915c
commit
8d648364c0
@ -62,7 +62,6 @@ extern "C" {
|
||||
#define DEBUGFILE "debug.txt"
|
||||
#define DEFAULT_SERVER_PORT 30000
|
||||
|
||||
#define ENV_MT_LOGCOLOR "MT_LOGCOLOR"
|
||||
#define ENV_NO_COLOR "NO_COLOR"
|
||||
#define ENV_CLICOLOR "CLICOLOR"
|
||||
#define ENV_CLICOLOR_FORCE "CLICOLOR_FORCE"
|
||||
@ -284,13 +283,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
static void get_env_opts(Settings &args)
|
||||
{
|
||||
#if !defined(_WIN32)
|
||||
const char *mt_logcolor = std::getenv(ENV_MT_LOGCOLOR);
|
||||
if (mt_logcolor) {
|
||||
args.set("color", mt_logcolor);
|
||||
}
|
||||
#endif
|
||||
|
||||
// CLICOLOR is a de-facto standard option for colors <https://bixense.com/clicolors/>
|
||||
// CLICOLOR != 0: ANSI colors are supported (auto-detection, this is the default)
|
||||
// CLICOLOR == 0: ANSI colors are NOT supported
|
||||
|
Loading…
Reference in New Issue
Block a user