def check_command(self): if self.last_user_input == "cat Eleanor": self.eleanor_speaks() record_user_interaction(self, "cat_eleanor") else: return TerminalNano.check_command(self)
def check_command(self): if self.last_user_input == "cat bernards-hat": self.send_text( "\nIs that Bernard\'s hat? " "Strange he left it behind..." ) else: return TerminalNano.check_command(self)
def check_command(self): if self.last_user_input == "cat bernards-hat": self.send_text( _("\nIs that Bernard\'s hat? " +\ "Strange he left it behind...") ) else: return TerminalNano.check_command(self)
def check_command(self): if self.last_user_input == "cat cappello-di-bernardo": self.send_text( "\nO non è il cappello di Bernardo questo? " "Strano che l'abbia lasciato qui..." ) else: return TerminalNano.check_command(self)
def _autocomplete_files(self, text, line, begidx, endidx, only_dirs=False, only_exe=False): completions = TerminalNano._autocomplete_files(self, text, line, begidx, endidx, only_dirs, only_exe) return bernard_autocomplete(completions)