Like is it avoided or might you kill flies to prevent flystrike. Or is it ignored when you'll inevitably kill some small bugs/insects
https://education.nationalgeographic.org/resource/jainism/
Jainism, which has nothing to do with the mud planet folk hero, is so strict about nonviolence that Jains will not eat root vegetables because harvesting it would kill the plant.
Okay that’s hardcore enough to start believing whatever they believe.
I catch and release flies outside and avoid it if it can be helped. I usually relocate worms or other bugs if they're going to get smashed.
In my experience there are 2 reasons to be a vegan. 1. animal wellbeing and 2. The environment. If you care about animal wellbeing we have to answer the question if bugs have a high enough awareness to notice and care about death. I think their consciousness is rather limited, so I think killing them in that regard is not too bad. Now from an environmental perspective it is bad to kill bugs, but killing one because it is running through your house will realistically not have to biggest impact compared to pesticides or highways or the lack of living space for these animals (rent got too high for them)
So as a vegan I kill moskitos and insects that could harm my property, food or stuff like that. The rest I try to get out the window but don't bother too much.