Re: [dev] [st] Hardcoded colors. Can I change them runtime?

From: Cág <ca6c_AT_bitmessage.ch>
Date: Wed, 01 Aug 2018 17:01:06 -0500

opal hart wrote:

> Yes, it's a normal array of colours. To set colour 215 (starting from
> 0), for example, just add a line `[215] = "#123456",` and it will set
> that colour as appropriate. However, st already supports both
> 256-colour and truecolour so you may not need to do this depending on
> what you are specifically doing.

Or you can set it like this:

        "#000000", /* 0: black */
        "#FF0000", /* 1: red */

etc.

--
caóc
Received on Thu Aug 02 2018 - 00:01:06 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 02 2018 - 00:12:07 CEST