Seizures and dark thoughts

Does anyone else get really dark thoughts from seizures?

I had a really bad episode this last weekend where I was out for pretty much 3 days straight and I’m still recovering. The only thing I remember was having the darkest thoughts of my entire life. Not like harming others, but like the meaningless of life and suicidal.

It was seriously awful. It felt like I was dying or something. Has anyone else dealt with this before?