Implemented PU1 to reopen terminal after screen buffer change in calling program