xterm most definitely works: I've tried about 50 times, while it only takes 2-3 times with urxvt to trigger the bug.
The fish dev suggested to report that to ranger, fzf and co. but there is more to it. The bug does not occur with other shells.
]]>Ideally, the child programs should detect the broken pipe and exit gracefully. So really it is a bug on their end too. But it seems the de facto standard is for many of these programs to rely on the shell or other parent program to let them know then the terminal is gone.
]]>Maybe fish in combination with some $TERM settings creates the issue.
Try lying about your $TERM in xterm, by setting it to, let's say "linux", as that is what it is set to in TTY.
If you caan't reproduce the issue, try fish from TTY. That would still leave out anything that has to do with graphical interface, even though I highly doubt the culprit lays there.
]]>I am using URxvt, Awesome, ncurses 6.0+ (stock Arch), fish (stock Arch) or fish-git.
I have reported the bug on the fish bug tracker:
https://github.com/fish-shell/fish-shell/issues/3644
The core developer(s) does not seem to be able to reproduce, so I suspect there might be something Arch specific.
Can anybody reproduce here?
]]>