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

Re: Segfault upon interrupt of completion - opinions?



On Sat, Feb 8, 2025 at 1:08 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Option 1:  zle_tricky.c:878 should not run the after-hooks on interrupt.
>
> Option 2:  runhookdef() should not run any hooks if there's been an
> interrupt.  This probably has wide-reaching side effects, so doesn't
> seem viable?
>
> Option 3:  Every hook function has to make its own decision about
> interrupts.  We can fix this specific case in after_complete().

Or I guess

Option 4: domenuselect() can be a no-op following interrupt.




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