While the mushrooms are cooking, marinate the onion. To do this, cut the onion thinly into quarters, put it in a deep bowl, sprinkle with sugar (about a tablespoon without a slide), salt (a teaspoon without a slide), mix well and pour vinegar (3 tablespoons). Leave it on for 15 minutes.