From: Bart Schaefer <schaefer@brasslantern.com>
To: zsugabubus <zsugabubus@national.shitposting.agency>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Funky list-colors
Date: Fri, 29 Nov 2019 08:06:37 -0800 [thread overview]
Message-ID: <CAH+w=7ZrwCrhkVCvZUAEgomWT_+bydWHEHV_oaZTDc=rnadyTw@mail.gmail.com> (raw)
In-Reply-To: <20191129122141.rekf7hcxtacjojo2@localhost>
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
On Fri, Nov 29, 2019, 4:22 AM zsugabubus <
zsugabubus@national.shitposting.agency> wrote:
> zstyle ':completion::complete:*' list-colors 'fi=mXXX \e['
>
> Zsh doesn't seem to correctly handle cases when “color” causes something
> to being printed on the screen
>
Color sequences are assumed to be zero-width. They aren't supposed to
insert printable text, the shell has no way to know how much space that
will use.
I'm not completely sure if it's a bug or I am trying to do something
> illegal with `list-colors`/`LS_COLORS`.
>
The latter :-)
next prev parent reply other threads:[~2019-11-29 16:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-29 12:21 zsugabubus
2019-11-29 16:06 ` Bart Schaefer [this message]
2019-11-29 17:23 ` zsugabubus
2019-11-29 19:22 ` Bart Schaefer
2019-11-29 20:37 ` zsugabubus
2019-12-04 23:27 ` Bart Schaefer
2019-12-05 7:44 ` Oliver Kiddle
2019-12-05 11:07 ` Sebastian Gniazdowski
2019-12-05 11:19 ` Roman Perepelitsa
2019-12-05 17:40 ` Oliver Kiddle
2019-12-07 20:58 ` zsugabubus
2019-12-07 21:42 ` Oliver Kiddle
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='CAH+w=7ZrwCrhkVCvZUAEgomWT_+bydWHEHV_oaZTDc=rnadyTw@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
--cc=zsugabubus@national.shitposting.agency \
/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).