Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Segfault upon interrupt of completion - opinions?
- X-seq: zsh-workers 53356
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Segfault upon interrupt of completion - opinions?
- Date: Sat, 8 Feb 2025 13:19:03 -0800
- Archived-at: <https://zsh.org/workers/53356>
- In-reply-to: <CAH+w=7ZKqb-iy6AAeiU4viaX-5ho=zRTZ7Zfu+KOrRW_zKOUfw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZKqb-iy6AAeiU4viaX-5ho=zRTZ7Zfu+KOrRW_zKOUfw@mail.gmail.com>
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