Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: region_highlight converts `fg=default` to `none`, which is not the same
- X-seq: zsh-workers 47483
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Marlon Richert <marlon.richert@xxxxxxxxx>
- Subject: Re: region_highlight converts `fg=default` to `none`, which is not the same
- Date: Fri, 23 Oct 2020 11:35:22 +0200
- Archived-at: <https://zsh.org/workers/47483>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-10/CAN%3D4vMrJ4_kLMmLdJn7VtTNu7g-%3Duj-wdZJeq9w36Nq5_p0UyQ%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-io1-f54.google.com) smtp.remote-ip=209.85.166.54; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SIyZ8ApmYfSeq7/OYhv8T3wOeZyiT5fxy8o2rqxvBxI=; b=WSX7PeLOLyhI2j5GKhCkBKwM+HZcPylXwrmclAXf4z1eaASEyY9qE0GIVLDHy4pPXV qy9nHyHss4YN4dJeGZreGWxZt2Ni7L2GTg/vPeajLCdez5mTA+JhRjkH3O0aGW/bpFbp qzfpHIH4GBpoMRbp+4O22fdMCUFPOoqLi4BibWjSQzL3bLFK8iJ+dz4deMl2cpLogBQR 1764SGgOWQ5N1gIdnWYSoUZoEV1O1OUjxIxfYN5YZA4h0z2kO0Kr+nQRH5VqvZQckU41 yewXzNZOckqZXFoWJTZ7mG5NZReodNpaoplhPcX/w9/97ZMuhvUwx+Dmt1j9Zikl7NYy JTLg==
- In-reply-to: <CAHLkEDuhnFzF5Xad7t66DGrwY=Ri9-7VN_P-yOUr03GGTUiKSA@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <CAHLkEDv9ch+nhtpYF3So+029J6GMv5iU-8=RzHRHLa7OYzc3kg@mail.gmail.com> <CAN=4vMq1CjLKiwM0_HWfQf5=xLTGQ7z9mVs=QEsCp05suLK-fA@mail.gmail.com> <20201014204621.4cf5b2b0@tarpaulin.shahaf.local2> <CAN=4vMqencidrpknTheyjAYQRT9BHN8ZLXRFk2Z38Gfwx9mxyQ@mail.gmail.com> <cd3c7101-2735-4e4e-a40f-76d0850f471d@www.fastmail.com> <CAH+w=7aHWUQSFCJ3NQDVDBg=X8J1WD+YbNMQ21=c4xXs=LPBqg@mail.gmail.com> <CAHLkEDvThAYDbqvVt9u8tRDxSnXjXo=hCierGQODA4KZPcQzxw@mail.gmail.com> <CAN=4vMr+dXkY3LsfRoJO06dHV=Y8MB3S1RFwqZ1m6YGJhLK3dQ@mail.gmail.com> <CAHLkEDuhnFzF5Xad7t66DGrwY=Ri9-7VN_P-yOUr03GGTUiKSA@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On Fri, Oct 23, 2020 at 11:25 AM Marlon Richert
<marlon.richert@xxxxxxxxx> wrote:
>
> Thanks for the link. Did that discussion ever result in a patch?
Nope. I've mentioned it earlier on *this* thread.
> It looks like you never got an answer to
> [your question](https://www.zsh.org/mla/workers/2019/msg01191.html):
Here's the follow up:
https://www.zsh.org/mla/workers/2020/msg00042.html. Apparently,
threading doesn't work across year boundaries.
> I feel like routing this through `ncurses` is not only unnecessary
> (since we have a standard for this); it's also problematic.
The only way to know whether the terminal supports some capability
(e.g., moving the cursor to the specified location on the screen, or
highlighting text with 256 colors) and to use the said capability is
through terminfo. There is no way around it.
It also doesn't seem like ncurses causes any problems that are related
to this thread. It's possible to support italized text output in zsh
without ditching ncurses. Please see the discussion I've linked above.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author