This repository has been archived by the owner on Jan 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dark mode & perspective to Board.Draw()
This commit adds Board.Draw2(perspective Color, darkMode bool). This is similar to Board.Draw() except that it allows the caller to specify from which perspective to display and whether the display should be reversed colors. (In a terminal window configured with white foreground text and a black background, the current Board.Draw() displays the opposite color). (cherry picked from commit 2c91017) (cherry picked from commit 820a54f)
- Loading branch information
Showing
2 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters