refine usability of terminal window.