Merge pull request #440 from mwalker33/dev2

Removed Windows 10 color option.
This commit is contained in:
Iceman 2019-10-16 11:33:14 +02:00 committed by GitHub
commit d401041ed9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -684,6 +684,8 @@ int main(int argc, char *argv[]) {
} }
session.supports_colors = false; session.supports_colors = false;
/*
// Removed color on windows until a better option can be implemented.
#if defined(_WIN32) #if defined(_WIN32)
// Check if windows AnsiColor Support is enabled in the registery // Check if windows AnsiColor Support is enabled in the registery
@ -711,6 +713,7 @@ int main(int argc, char *argv[]) {
} }
#endif #endif
*/
session.stdinOnTTY = isatty(STDIN_FILENO); session.stdinOnTTY = isatty(STDIN_FILENO);
session.stdoutOnTTY = isatty(STDOUT_FILENO); session.stdoutOnTTY = isatty(STDOUT_FILENO);