aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d66ec5846..80a6c819c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2563,7 +2563,7 @@ gb_internal void init_terminal(void) {
}
}
#elif defined(GB_SYSTEM_OSX) || defined(GB_SYSTEM_UNIX)
- FILE* file = popen("tput colors", "r");
+ FILE* file = popen("tput colors 2>/dev/null", "r");
if (file) {
char buffer[20];
if (fgets(&buffer[0], 20, file)) {