acomagu/fish-async-prompt

Error when closing terminal too soon

Closed this issue · 4 comments

Sometimes on closing the terminal, I get an error because fish-async-prompt is running in the background.
It happens when I close it fast. Is there someway to avoid this?

Screenshot from 2023-01-17 18-24-34

This is happening only on ^D, which sends and EOF to the terminal and does not SIGINT the background process...

@Susensio What is your Terminal Emulator?(the confirmation message is displayed by your terminal emulator, right?)

The background fish process is disowned every time so Fish shell doesn't own the process as job.

There is a bug in Gnome Console that causes this. https://gitlab.gnome.org/GNOME/console/-/issues/127

I switched my terminal emulator and its working fine now.

@Susensio I see, thank you!