def _create_app(self, color_depth, term='<STR_LIT>'):
output = Vt100_Output(_SocketStdout(self._send_packet),<EOL>lambda: self.size,<EOL>term=term,<EOL>write_binary=False)<EOL>self.client_state = self.pymux.add_client(<EOL>input=self._pipeinput, output=output, connection=self, color_depth=color_depth)<EOL>print('<STR_LIT>')<EOL>future = self.client_state.app.run_async()<EOL>print('<STR_LIT>', future)<EOL>@future.add_done_callback<EOL>def done(_):<EOL><INDENT>print('<STR_LIT>')<EOL>print(future.result())<EOL>self._close_connection()<EOL><DEDENT>
Create CommandLineInterface for this client.
Called when the client wants to attach the UI to the server.