[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Construct ANSI colour codes
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: Construct ANSI colour codes |
Date: |
Wed, 7 Apr 2021 22:38:09 +0200 |
man console_codes
On Wed, Apr 7, 2021, 22:17 <pauline-galea@gmx.com> wrote:
> I need ideas on how to construct ANSI colour codes, without hard-coding
> them. Would really still need some scheme such that the actual selection
> is human readable. Perhaps a function that returns you the format string.
>
> Example of scheme
>
> 'd' for dim, 'n' for normal
> 'Gn' for Green, 'Rd' for Red, 'Bl' for blue
>
> 'dGn' for dim green foreground
>
> 'Bl_dGn' for blue background and dim green foreground
>
>
- Re: Construct ANSI colour codes, (continued)
- Re: Construct ANSI colour codes, Matias Fonzo, 2021/04/07
- Re: Construct ANSI colour codes, pauline-galea, 2021/04/07
- Re: Construct ANSI colour codes, Greg Wooledge, 2021/04/07
- Re: Construct ANSI colour codes, pauline-galea, 2021/04/07
- Re: Construct ANSI colour codes, Mike Jonkmans, 2021/04/08
- Re: Construct ANSI colour codes, pauline-galea, 2021/04/08
- Re: Construct ANSI colour codes, pauline-galea, 2021/04/07
- Re: Construct ANSI colour codes, Greg Wooledge, 2021/04/07
- Re: Construct ANSI colour codes,
Alex fxmbsw7 Ratchev <=