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 23761
- 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, 15 Nov 2018 15:48:16 +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 :content-transfer-encoding; bh=AP6VbIU7iaoe/rLGRXeHE6aV7jD4x2mH29DClL8Px68=; b=eMZWtDMNmt/FafJlNNJgFby4YP349Tx9vbFqymCAebc8jGEWZutcGeutYldtf0i2lI FY6QxV1z+zMHd2scjtzbjmL4ZQG/CwxAJ+PTjhXEfSxfuZAFeRJRjz5DKcQtaicLDnJ2 UBqqQCbmM+Bi5RDxumV3l0l9QTtCNuF5XxiD5E7+pe/qG/oCiwTocPU6b8MsDLzTCZPT cw8sKam/ct3yc3JAF+uz4PbH/EKUI5J7u0nBXHm/VecBLvoOhJRBTniHeJ8Aj/CSmKZG 634B2M40mzTMS9cCtGovmTwnFbUAEeXfADaXDwso7HX12uvrrhNXcHkBcmoX/k0xuVUV JKiQ==
- 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>
BTW. By using the new, probably incoming (the author is working on
needed changes) feature of the `unixorn/awesome-zsh-plugins` list – an
evaluation of plugins (see an example at:
https://github.com/zdharma/hacking-private/blob/master/zsh-plugin-assessor/README_new.md),
I've found a plugin that to some extend does what the proposed
terminal-theme-tool would be doing:
https://github.com/chriskempson/base16-shell
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. (I've submitted a ticket for
> 1st code on iTerm GitLab project page
> https://gitlab.com/gnachman/iterm2/issues/7221, you could support it
> by commenting in favor of the feature or by giving thumbs up).
>
> I'm wondering why there is no tool to manage terminal-themes? Many
> things, in particular syntax highlighting of Zsh command-line, can
> easily gain from this. It's essentially a workaround for the lack of
> 24-bit color in Zsh. As a result I've decided to extend F-Sy-H theme
> support with terminal-palette altering, it should be there within a
> month.
>
> I'm curious on opinions whether this really is a workaround for no
> true-color support in Zsh and maybe on ideas of what such
> terminal-theme manager should do.
>
> You can play with this feature – xterm, urxvt, gnome-terminal:
>
> echo -e '\e[32m'Test Color Text ▓▓▓▓'\e[0m'
> sleep 2
> echo -ne '\e]4;2;#aaaa00\a'
>
> OS X / iTerm:
>
> echo -e '\e[32m'Test Color Text ▓▓▓▓'\e[0m'
> sleep 2
> echo -en '\e]P2aaaa00'
>
> --
> Sebastian Gniazdowski
> News: https://twitter.com/ZdharmaI
> IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
> Blog: http://zdharma.org
--
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