Friend constantly complaining about her problems and yelling at me

Hello! What are your experiences with friends and people complaining and yelling at you? How do you deal with? 

I've got a friend who is always complaining about her work, health and life in general. I was constantly listening to her until Wednesday. She told me a story about one of her colleagues (she never mentioned the name). Since I knew most of people from the department, I asked her who was it. She angrily replied to me the it doesn't matter, that I shouldn't know the name because she doesn't want to gossip. That was the boiling point for me. 

She has been complaining and yelling at me since last year. I just can't anymore. I wanted to end the friendship. I just put distance between me and her. She either realised or didn't because she still wants to communicate with me, but I don't want to talk to her. It is really difficult to cut ties with her because we live in the same house. She even pretends that nothing happened between us. 

I should have told her that our conversations are always emotionally draining me, making me feel bad, upset and tired. 

What would be the best approach?

Thank you!

  • I forgot to mention she has a short temper. She admitted about it, but she never tried to control it. She complained about everything, but never took any action.