update terminal after canceling format-patch