-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature Addition: Reverse Option (#79)
Hey mlange-42, Just wanted to drop in a pull request for something you might find a bit hacky, but I found myself needing a reverse option. The approach here is a bit unconventional – instead of overhauling the code, I went for reversing the text_lines and grid. To tackle the issue of characters facing the wrong direction, I flipped them (so a 'left-up' becomes 'left-down', and so on). It might be more ideal to adjust how the Character struct is accessed with the reverse option in mind, but that would require a significant refactor of the existing code. From what I've tested, it looks like it works pretty well across different character sets. Would love to hear your thoughts on this and if it's something you'd consider merging. Cheers!
- Loading branch information
Showing
4 changed files
with
42 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
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