Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Terminal theme tool – a workaround for lack of 24-bit color in Zsh?
- X-seq: zsh-users 23767
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Terminal theme tool – a workaround for lack of 24-bit color in Zsh?
- Date: Thu, 22 Nov 2018 20:06:01 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rTkR/ssiXjED55YD1EdWqoSakxAb8usc+BqtTO7hWKE=; b=hF6Q9/blqn6oMMJfVlqY/8HBuN8+l8xuPf+G2E7r9lmGtqbajfCoO8oRESl5rma8f0 9zRIJSWtPMP/7DW8UQcpE5kl08BkUutGH8bycgwIUb4GMAtpR3oIA8rGnbz/Zg1++PeU Mar5CrVZQ4d15J3jV+gM+kz8/JQ55hBy4hp+8pf6mmYtIX27yyjohZ7Vr2nxjh7h9SiN tOJYX4oTY+K9IcDQBLIn/i+ewrdAQY/n3CIv3EqAdSp/034UH1jv6EV2V6rn9QW7+Gac rCOVIUX20gSxJFZGHUW7RAWQ9sa30cMP1sI21tUIIf7CGcdAQQnMzPZ2lNl8NeMBV4NG F1TA==
- In-reply-to: <CAKc7PVCEmTTMRR0P3kx9ktpLDBYqJ+MRsE77UMLFjonEZAixfA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCEmTTMRR0P3kx9ktpLDBYqJ+MRsE77UMLFjonEZAixfA@mail.gmail.com>
This is an update to the first post. I've done a research on iTerm and
it turned out it can change all the 256 colors and also terminal's
background and foreground color. So the following isn't true:
On Mon, 15 Oct 2018 at 17:28, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
> Hello!
> There are 2 escape sequences, ESC]4;n;#rrggbb\a and ESC]Pnrrggbb, that
> allow to change terminal's current palette. First works on most
> OpenSource / Linux terminals and supports 256 colors, second one on OS
> X iTerm, supporting first 16 colors only.
The new iTerm2 sequence is:
\e]4; index ;rgb: red / green / blue \a
An example that changes 1st color (index=1), i.e. the red (try also 2
for the green, for example).
echo -en '\e]4;1;rgb:aa/ff/00\a'
More details are in the iTerm2 gitlab's issue:
https://gitlab.com/gnachman/iterm2/issues/7221
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author