Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] complist interactive mode overwrites command line
- X-seq: zsh-workers 52658
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Samy Dulor <samy.dulor@xxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [BUG] complist interactive mode overwrites command line
- Date: Sun, 3 Mar 2024 18:05:27 -0800
- Archived-at: <https://zsh.org/workers/52658>
- In-reply-to: <90469bbe-acdf-6dad-baaa-fbf3d1e7ed6c@orange.fr>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDtHWh46ViP3LCd82E6YWujBKZTx-qLt18+QPqWwFe34jA@mail.gmail.com> <90469bbe-acdf-6dad-baaa-fbf3d1e7ed6c@orange.fr>
On Sun, Mar 3, 2024 at 5:44 PM Samy Dulor <samy.dulor@xxxxxxxxx> wrote:
>
> So I just tried fixing it by correcting the values in minfo when domenuselect restores the command line content,
Yours may be the one combination I did not try, in the thread ending here:
https://www.zsh.org/mla/workers/2023/msg01041.html (workers/52312)
The real test is whether it handles this ...
>> Anything that resets the
>> appearance of the line -- such as hitting TAB again after accept-line,
>> because (as in the "user defined widget doesn't execute suffix
>> removal" thread), we are actually still in menu completion at that
>> point even though we've left interactive completion -- also loses
>> track of the fact that the original line is back the way it was, and
>> so minfo.len becomes wrong again and things like navigating the menu
>> with the arrow keys start foredel()-ing too much.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author