[neomutt-devel] Colours, LOTS of colours

Richard Russon rich at flatcap.org
Fri May 5 11:58:46 CEST 2023


Hi Marius,

> > NeoMutt has to convert `color123` into RGB using a "standard" palette.

> Is this an ncurses limitation, or a NeoMutt architectural limitation?

ncurses
Perhaps there's a workaround, but I haven't investigated.

> Because a terminal program in theory could choose to intermix the
> 256-color escape codes with the 24-bit color escape codes however it
> wanted.

Yes.  Ultimately, ncurses must be outputing these sequences, but we don't
have any control over it.

Years ago, however, I hacked up a test that inserted sequences manually.
Back then, it was for 24-bit colour, but I'd still like to use the idea
for marking up URLs for the terminal to recognise.  (Some day :-)

lolcat branch:
    https://github.com/neomutt/neomutt-old/tree/lolcat

screen cast:
    https://asciinema.org/a/160886

Cheers,
    FlatCap / Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20230505/a0855081/attachment.sig>


More information about the neomutt-devel mailing list