Add onions and fry them evenly till they brown, not burnt. While the onions fry, you can chop the mushrooms. Add tomato and saute until the moisture dries up and the raw smell goes off. Add chili powder, garam masala, curry leaves and turmeric. Saute until the raw smell has gone, just for a minute.