Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement: expose cecho2ansi and have it work for non-ansi color na…
…mes as well (#5672) #### Brief overview of PR changes/additions While perusing the ansi conversion functions I realized we were doing all the work of cecho2ansi but had not exposed it as separate functionality. Since we have done so for d and hecho, it made sense to me to perform this refactor. In the process I also added support for colors which are not named ansi colors but exist in the color table. #### Motivation for adding to Mudlet More complete API, consistency across the c/d/h variants.
- Loading branch information
Showing
2 changed files
with
61 additions
and
10 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