[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 8-bit (256) terminal colours
From: |
michael-franzese |
Subject: |
Re: 8-bit (256) terminal colours |
Date: |
Thu, 15 Apr 2021 04:39:50 +0200 |
Thank you. I thought that because I am writing in bash, others
would have experience playing with 8-bit terminal colours.
> Sent: Thursday, April 15, 2021 at 2:30 PM
> From: "Koichi Murase" <myoga.murase@gmail.com>
> To: michael-franzese@gmx.com
> Cc: "help bash" <help-bash@gnu.org>
> Subject: Re: 8-bit (256) terminal colours
>
> 2021年4月15日(木) 11:13 <michael-franzese@gmx.com>:
> > Subject: 8-bit (256) terminal colours
>
> This is unrelated to Bash. Terminal colors are interpreted by
> terminals, and Bash is not a terminal.
>
> > \e[${fg};5;${bg}m bg=(0..255), fg=(0..255)
>
> This is wrong. It must be \e[38;5;${fg};48;5;${bg}m
>
>