Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: support for italic and faint fonts from region_highlight
- X-seq: zsh-workers 51319
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: support for italic and faint fonts from region_highlight
- Date: Thu, 19 Jan 2023 17:22:09 +0100
- Archived-at: <https://zsh.org/workers/51319>
- In-reply-to: <2468-1673042601.684998@j4zI.qkM4.yrwt>
- List-id: <zsh-workers.zsh.org>
- References: <36223-1672793943.791824@SLuG.9t5a.jH-P> <2468-1673042601.684998@j4zI.qkM4.yrwt>
On 1/6/23, Oliver Kiddle <opk@xxxxxxx> wrote:
> It was brought to my attention that turning faint on does have a termcap
> entry - mh or terminfo dim.
>
> I've attached a replacement for this patch to use this which also adds
> a function for combining two attribute sets allowing for priority over
> colour and font weight to go to one of the sets. This will get even more
> use in the next update for handling leftover attributes from the prompt.
I didn't check exactly which of your patches caused this problem, but
i'll reply here.
% zsh -f
% zle_highlight=( default:bg=blue )
[hit enter until you're at the bottom of the terminal]
% cat
Now the whole bottom line is just filled with blue, which it should
not be. Similar artifacts sometimes happen when the completion
continuation prompt is shown ("At Top: Hit space for more..."), and I
also noticed in some circumstances when I hit alt-m to start menu
selection, the selected entry is not showed highlighted until I move
it once or hit ^L, but I don't have a minimal reproducer for those
things.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author