8000 Color blind friendly mode patch by dek443 · Pull Request #150 · USArmyResearchLab/Dshell · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color blind friendly mode patch #150

Merged
merged 6 commits into from
Apr 20, 2023
Merged

Conversation

dek443
Copy link
Contributor
@dek443 dek443 commented Apr 19, 2023

Added color blind friendly mode, which will currently be used by the colorout and htmlout output modules. Uses yellow/gold in place of red and different shades of green/yellow/blue to help users with protanopia, deuteranopia, or tritanopia better differentiate between them, as well as for users interested in alternate color schemes.

dek443 added 4 commits April 19, 2023 16:48
Added color-blind-friendly command-line flag.  Optimized looping through plugin_chain to set user-defined output arguments.
Added color-blind-friendly, "cbf" argument (user-defined command-line option) to base-level output class to be used by colorout and htmlout output modules.
Activate color blind friendly mode in colorout output module.  Use ANSI color yellow (darker yellow) in place of red.  Different shades of green/yellow/blue are used which helps better differentiate between them.  The base-level Output() class' setup() function is called within the _premodule() function of the plugin using this output module, before capture starts or files are read.
Activate color blind friendly mode in htmlout output module.  Use HTML colors gold (darker yellow) in place of red, and sea green (lighter green) in place of green.  Keep the HTML color blue the same.  These different shades of green/yellow/blue are used to help better differentiate between them.  The base-level Output() class' setup() function is called within the _premodule() function of the plugin using this output module, before capture starts or files are read.
@dek443 dek443 changed the title Color blind friendly patch Color blind friendly mode patch Apr 19, 2023
dek443 added 2 commits April 19, 2023 17:33
Removed TODO comment regarding making the colors configurable to be color blind friendly.
Updated argument parsing syntax for 'cbf' and 'acc' command-line options to conform with standard form used, '-' for single char options, '--' for multiple char options.
@dev195 dev195 merged commit 37a4231 into master Apr 20, 2023
@dev195 dev195 deleted the dek443-color-blind-friendly-patch branch April 20, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0