Insert output before command line on resize