meltbus: Fix upper eight colours of vterm
vterm produces the colours 8–15 from the face-background of the colours 0–7. Adapt the colours to make, e.g., brightblack visible again
Fixes #765
- [x] I searched the issue tracker and this hasn't been PRed before.
- [x] My changes are not on the do-not-PR list for this project.
- [x] My commits conform to the git conventions.
- [x] My changes are visual; ~I've included before and after screenshots.~
- [x] Any relevant issues or PRs have been linked to.
Did you check that it works in TUI? doom-lighten and doom-darken don't do anything to their argument when it's not in GUI
This is, how it looks like in vterm running inside a graphical emacs:
The next, when running vterm inside emacs -nw which runs inside another vterm.
So, you're right. It is only partially working. Suggestions?
I guess you can compute the colors that you like from GUI, and then hardcode the value in the theme, so you dodge the doom-darken/doom-lighten call.
You can evaluate (doom-lighten (doom-color 'red) 0.3) in a scratch buffer with the theme loaded to see the value (or use SPC h F to look at the faces and have the value directly there)
I fixed it (and some other things). First image shows vterm in GUI emacs:
Second image shows vterm in emacs -nw inside vterm: