diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2023-07-02 20:20:10 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2023-07-02 20:20:10 +0200 |
| commit | f4e87c9720fada536c756110f900c4317fc1c1ce (patch) | |
| tree | fc77c57ad8bfc6bde7f88657bf7d2c578f130fea /src | |
| parent | 23bf7973fa571088cb5080d78d04a798a2cc1e7c (diff) | |
ignore stderr in tput call
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 2 |
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)) { |