$ 0 0 Honestly, why use the terminal at all if you're starting to see performance issues? Pick some graphical API and use that.