-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement styled printing of StyledStrings
Printing StyledStrings is more complicated than using the printstyled function as a Face supports a much richer set of attributes, and StyledString allows for attributes to be nested and overlapping. With the aid of and the newly added terminfo, we can now print a StyledString in all it's glory, up to the capabilities of the current terminal, gracefully degrading italic to underline, and 24-bit colors to 8-bit.
- Loading branch information
Showing
1 changed file
with
269 additions
and
0 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