resize terminal output window