code: def _create_app(self, color_depth, term='xterm'):
          
          output = Vt100_Output(_SocketStdout(self._send_packet),
                                lambda: self.size,
                                term=term,
                                write_binary=False)
  
          self.client_state = self.pymux.add_client(
              input=self._pipeinput, output=output, connection=self, color_depth=color_depth)
  
          print('Start running app...')
          future = self.client_state.app.run_async()
          print('Start running app got future...', future)
  
          @future.add_done_callback
          def done(_):
              print('APP DONE.........')
              print(future.result())
              self._close_connection()
docs: Create CommandLineInterface for this client.
          Called when the client wants to attach the UI to the server.