Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #159 from facebookresearch/heiner/fixes
Browse files Browse the repository at this point in the history
Remove has_color in an attempt to fix #157.
  • Loading branch information
Heinrich Kuttler authored Jun 3, 2021
2 parents 8f6e075 + 0cba42c commit 61ff889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/nle.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,6 @@ check_linux_console()
}
}

#ifdef NEED_HAS_COLORS_DECL
int has_colors();
#endif

void
init_linux_cons()
{
Expand All @@ -550,8 +546,8 @@ init_linux_cons()
atexit(linux_mapon);
linux_mapoff();
#ifdef TEXTCOLOR
if (has_colors())
iflags.use_color = TRUE;
/*if (has_colors())*/ /* Assume true in NLE. */
iflags.use_color = TRUE;
#endif
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.0
0.6.1

0 comments on commit 61ff889

Please sign in to comment.