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



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