Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Funky list-colors
- X-seq: zsh-workers 44952
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsugabubus <zsugabubus@xxxxxxxx>
- Subject: Re: Funky list-colors
- Date: Fri, 29 Nov 2019 08:06:37 -0800
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xu9pRBKKtopDAh8XEe7XgEYVahT2WORrZ0dzOt8s1Y8=; b=seyOhUHk3pcqSjRtdjr/G/j0c9biIKx7TDms0YZPzYdgJmCcb/kln9VaadnwbOo480 YkaF1tV2/sySb+FPdmyagdiswDt+akNuYLqh7v1iUn2Xb26XZaNxnbKq4c/pOAiBXTbd lsY8VJh/VpcS6NClIfsUwWbWo5psLkwxsYEMlWgCg2AuMsWeN0tqA4odVOA8XAzF0B6f OK1AIKtnYhc67YIonONpCv1nLs+TCXSHWoBChjChfA/JzIpfcKzR5S+TUFLX2poOvxZB hRloox3KEdQ8YFNHRVVCF/g2YRtqu34QI+rISCLHF60z/aKmPXWDyJJjeb/ukdbryH2X 5c5w==
- In-reply-to: <20191129122141.rekf7hcxtacjojo2@localhost>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20191129122141.rekf7hcxtacjojo2@localhost>
On Fri, Nov 29, 2019, 4:22 AM zsugabubus <
zsugabubus@xxxxxxxx> 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 :-)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author