From: Jim <linux.tech.guy@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: devs <zsh-workers@zsh.org>
Subject: Re: prompt colors bug? also possible feature add
Date: Tue, 22 Aug 2023 19:37:40 -0500 [thread overview]
Message-ID: <CA+rB6GK6Zji-QOkxLkQOgBYxCtwjr-g62DjGojSgdvUJwToN+Q@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7Zy0q+OvvVG9UB8rTHONX_vQ=NFHudfELJCfbRhVxvfyA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1505 bytes --]
Hi again,
On Thu, Aug 17, 2023 at 6:23 PM Bart Schaefer <schaefer@brasslantern.com>
wrote:
> On Thu, Aug 17, 2023 at 3:19 PM Jim <linux.tech.guy@gmail.com> wrote:
> >
> > While working on colors and prompts I noticed that gray and grey
> > do not work in a prompt. But in the colors function it states:
> >
> > # This is inaccurate, but the prompt theme system needs it.
>
> Not the built-in prompt escapes, the prompt themes installable via
> autoload prompinit
> promptinit
> prompt fade
> (for example)
>
Not sure if I'm barking up the wrong tree ... Did some further testing
with an actual
prompt adam2 (alt_02 is some prep work for adding vcs_info -- tested on
just adam2
with the same results). When I tried to get "grey" or "gray" the color
defaulted back to
the terminal default(in my case green). Yet using numbers 7 & 8 output as
would be
expected(check user@host). I guess the next questions is, does it only
work with
fade?
You used the example of prompt fade, but I tried bigfade with args as
described in
the function. Having a hard time seeing grey, but maybe that has something
to do with
my virtual terminal or brightness setting. I included the results of my
testing in two
.png files.
Is there any consideration of adding bright-<color> to prompts? Just
curious.
As you can see, bright-color also defaults to terminal default(green).
Using numbers works for me.
If I misunderstood, sorry for the noise.
Regards,
Jim
[-- Attachment #1.2: Type: text/html, Size: 2168 bytes --]
[-- Attachment #2: prompt_color_test_bigfade.png --]
[-- Type: image/png, Size: 37525 bytes --]
[-- Attachment #3: prompt_color_test_for_gray.png --]
[-- Type: image/png, Size: 125079 bytes --]
next prev parent reply other threads:[~2023-08-23 0:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 22:18 Jim
2023-08-17 23:23 ` Bart Schaefer
2023-08-23 0:37 ` Jim [this message]
2023-08-23 4:20 ` Bart Schaefer
2023-08-23 12:42 ` Jim
2023-08-24 3:45 ` Bart Schaefer
2023-09-20 1:15 ` Jim
2023-09-20 1:56 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+rB6GK6Zji-QOkxLkQOgBYxCtwjr-g62DjGojSgdvUJwToN+Q@mail.gmail.com \
--to=linux.tech.guy@gmail.com \
--cc=linuxtechguy@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).