Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: UNICODE Private Use Area characters in BUFFER
- X-seq: zsh-workers 50825
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: UNICODE Private Use Area characters in BUFFER
- Date: Sun, 23 Oct 2022 16:46:52 -0700
- Archived-at: <https://zsh.org/workers/50825>
- In-reply-to: <CAH+w=7YCtLoqhx-WmGUKxCCbkGX_5Z1jfGmcd8-59b-iptjOew@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAN=4vMowyKmrQtQb=QTxiVzQJXRubz-o2T12=6aQBHSpkKwOig@mail.gmail.com> <CAHYJk3SWfX7ZaFA=WgDBtSPZD0isV5OUHWgf3ienhzhzK+9xQw@mail.gmail.com> <CAN=4vMoLQBt8ST7E3EachnLra05ENPOiY0nDOC0Z_=a=8Mg4SA@mail.gmail.com> <CAHYJk3Qi+DEGBYZvwXrqehzjbHHunnVfx6dhJB7hJpjM9GWHiQ@mail.gmail.com> <CAN=4vMo1m5O4M72qqpQfu3hC4-FkW0PN4o_eVt_O=-yL0Qx8Sg@mail.gmail.com> <CAH+w=7YCtLoqhx-WmGUKxCCbkGX_5Z1jfGmcd8-59b-iptjOew@mail.gmail.com>
On Sun, Oct 23, 2022 at 4:35 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Asserting that zsh "handles" those characters in other
> contexts isn't indicative of anything beyond demonstrating that
> terminal "handling" is a special case.
Seems to me we've got the following options:
1. Do nothing.
2. Presume Roman is correct that these characters can always be
treated as printable and narrow. (Still no answer as to how best to
change this?)
3. Add an option UNICODE_PRINTABLE_NARROW that when set, asserts all
these characters to be printable and narrow. Default ... on?
4. Add special variable(s) (perhaps via module?) to allow remapping
the wcwidth9.h lookup tables to make individual characters printable
and set their width.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author