Fix terminal after run.