terminal print in window