def delegate_to_sub_processor(self, line):
    processed = self.sub_processor.process_command(line)
    if self.sub_processor.is_done:
        self.sub_processor = None
        self.show_prompt()
    return processed
def delegate_to_sub_processor(self, line):
    processed = self.sub_processor.process_command(line)
    if self.sub_processor.is_done:
        self.sub_processor = None
        self.show_prompt()
    return processed