fixed up terminal_client output