Dice the tofu, vegetables, and onion into small pieces.
Beat the eggs and set aside.
Add oil to a pan and stir-fry the tofu first.
Sprinkle a little salt over the tofu and cook until the moisture evaporates.
Add the vegetables and onion and stir-fry together.
Pour in the beaten eggs and stir-fry until everything is well mixed.
Season to taste with salt and pepper to finish.