add a output window
border resize