Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Using 8bit colors in prompt expansion on a terminal with 24bit color support
- X-seq: zsh-users 24766
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Thayne <astrothayne@xxxxxxxxx>
- Subject: Re: Using 8bit colors in prompt expansion on a terminal with 24bit color support
- Date: Tue, 7 Apr 2020 08:11:13 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- In-reply-to: <CALbpH+iPSD-Pn81vHzaMv=kDciCv95nxxH9JCzYHk3XWJjTSxg@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: <CALbpH+iPSD-Pn81vHzaMv=kDciCv95nxxH9JCzYHk3XWJjTSxg@mail.gmail.com>
On Tue, Apr 7, 2020 at 1:53 AM Thayne <astrothayne@xxxxxxxxx> wrote:
>
> https://lists.gnu.org/archive/html/bug-ncurses/2019-03/msg00009.html
Wow, didn't know about this. This behavior is quite surprising to me.
TERM=xterm-direct print -P '%F{226}this is blue%f'
TERM=xterm-256color print -P '%F{226}this is yellow%f'
I cannot say whether it's intended but I suspect that a lot of code
that uses color codes above 7 won't work correctly with
TERM=xterm-direct.
Roman.
P.S.
Lean style in powerlevel10k has 8-color option. With a decent terminal
color scheme it looks alright.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author