Each time I touch mrsh' job control code I'm thinking "swapping these two function calls can't possibly matter". Every single time it does.
I should consider job control code as magic incantations you shouldn't change at all.
Or alternatively, add some tests for interactive terminals.
@emersion job control-related mechanisms in the kernel are a wart on the Unix design, aren't they?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!