Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Feature request: italic style in region_highlight



On Mon, Dec 30, 2019 at 5:08 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Mon, Dec 30, 2019 at 2:17 AM Roman Perepelitsa
> <roman.perepelitsa@xxxxxxxxx> wrote:
> > fg_start_code and fg_end_code specify the prefix and the suffix of a
> > single escape sequence. To avoid confusion, I've used begin/stop with
> > standout. It's awkward, as the natural pairing would be start/stop and
> > begin/end. Oh well.
>
> Could use standout_enter/exit (or enter/end).

enter/exit sounds better than my suggestion. Another option: on/off. I
haven't thought of it earlier but now I think it pretty good.

Shall I send a patch? I'd love to have this feature.

A related question. Would you (zsh elders) be receptive to my adding
percent escapes for italicized (%A and %a) and inverse video (%R and
%r) mode? %S and %s would stay unchanged.

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author