help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash colour codes


From: Christopher Dimech
Subject: Re: Bash colour codes
Date: Tue, 13 Apr 2021 22:22:02 +0200

There seems to be something different between bold (\e[1;41;32m) and
bright (\e[0;41;92m and \e[0;101;32m).

> Sent: Wednesday, April 14, 2021 at 8:07 AM
> From: "Greg Wooledge" <greg@wooledge.org>
> To: help-bash@gnu.org
> Subject: Re: Bash colour codes
>
> On Tue, Apr 13, 2021 at 09:56:56PM +0200, pauline-galea@gmx.com wrote:
> > I got somewhat confused about color codes.
>
> Your subject header says "Bash colour codes", but these have nothing
> to do with bash.
>
> They are *terminal* color codes, and they are implemented by your terminal
> (or terminal emulator).
>
> > Let's take for instance \e[0;41;32m which writes with red background and
> > green foreground.
>
> If you say so.
>
> Consult your terminal's documentation for answers to whatever your
> questions are about how it interprets escape sequences.
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]