The normal way to enable 24 bit color on a recent emacs (27.1) and a recent OS distribution (one which already has the terminal type definition xterm-direct
), is just to set TERM=xterm-direct
before running emacs.
But this does not work with blink.sh, probably because of some incompatibility in its underlying library, hterm.