There are only 4 free bits (not enough to fully support the above) in the attr mask at present, including the MSB which would include code changes. That's going to be an obstacle in implementing all these fancy features the terminals keep adding. I guess everybody else just uses structs anymore anyway, but manipulating masks was so much nicer.
I'd also note that the color scheme parser should probably silently ignore -colors it does not understand (it just generates an error today but doesn't fail), so we are clear to add this sort of stuff in the future.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just FYI: The Kitty terminal emulator, and newest (git) version of GNOME Terminal and other VTE-based terminal emulators now support colored and curly underlining. Hopefully more terminal emulators will follow. See e.g.
https://askubuntu.com/a/985386/398785
https://gitlab.com/gnachman/iterm2/issues/6382
https://bugs.kde.org/show_bug.cgi?id=387811
https://crbug.com/794130
echo -e 'Add a mode to check spelling of document in background, and to highlight any \e[4:3;58:5:9mmispelled\e[m words.'
Last edit: Egmont Koblinger 2017-12-16
There are only 4 free bits (not enough to fully support the above) in the attr mask at present, including the MSB which would include code changes. That's going to be an obstacle in implementing all these fancy features the terminals keep adding. I guess everybody else just uses structs anymore anyway, but manipulating masks was so much nicer.
I'd also note that the color scheme parser should probably silently ignore -colors it does not understand (it just generates an error today but doesn't fail), so we are clear to add this sort of stuff in the future.