Re: How do you define a custom color [LINUX}
- Posted by ghaberek (admin) Jun 01, 2020
- 1046 views
I haven't got a clue as to how to use this type. I suspect that it might be an old dos routine to be used with a function called pallete.
I believe you are correct. From what I can tell, anything that wasn't strictly related to DOS graphics was left in when DOS support was removed, but things like this turn into vestigial useless remnants that should have been removed in a second post-DOS-removal sweep of the standard library.
Can custom colors be defined in Euphoria/LINUX?
AFAICT no, shell supports the standard 16 colors and those can be overridden by the terminal emulator to make things prettier, but you're still stuck with the same color codes: https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
-Greg