-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change ANSIColor rgb fields to UInt8 (#41)
* Change ANSIColor rgb fields to UInt8 * Change instances of the ANSIColor constructor Follow up to issue #40 and PR #41 Write number literals using hexadecimal notation or call the UInt8 constructor explicitly (Note that Julia won't implicitly cast number literals). * Add optional values ANSIColor constructor * Modify 16/256 color constructor (integer values) Allow the third ANSIColor constructor to take integers smaller than 64/32 bits, so that the values are passed (or casted) as UInt8 at a higher level, without breaking code that still sends an Int32/64.
- Loading branch information
Showing
3 changed files
with
19 additions
and
22 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