#3 COLOR command should perform range checking

Closed
opened 2 years ago by ChipMaster · 1 comments

According to remarks in the code the range of color codes are 0-15. Yet if you put in codes 16-255 they are accepted. Perhaps this is expected. Seems like we know that ANSI/VT100 only provides 16 colors so we should limit it in ANSI mode.

According to remarks in the code the range of color codes are 0-15. Yet if you put in codes 16-255 they are accepted. Perhaps this is expected. Seems like we know that ANSI/VT100 only provides 16 colors so we should limit it in ANSI mode.
ChipMaster added the
blunder
label 2 years ago
ChipMaster commented 2 years ago
Owner

COLOR code limits are fixed in commit 9ca2d013.

`COLOR` code limits are fixed in commit 9ca2d013.
ChipMaster closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.