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

Re: Segfault upon interrupt of completion - opinions?



> On 11/02/2025 23:01 GMT Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Feb 11, 2025 at 10:02 AM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > > Option 4: domenuselect() can be a no-op following interrupt.
> >
> > As long as I'm soliciting advice -- what other ZLE state could/should
> > be checked here?  Possibly "resetneeded"?  Anything else?
> 
> Having dug a bit further, I think the below will probably solve the
> crash -- domenuselect() needs an existing completion list from which
> to build the display.

Something short and local seems good to me --- any attempt to do something
wider in this area is probably going to result in a large can of worms
(but we'd probably only find that out gradually).

pws




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