(self, txt: str)
| 124 | self.prompting = self.execute_command |
| 125 | |
| 126 | def execute_command(self, txt: str) -> None: |
| 127 | if txt.strip(): |
| 128 | self.master.commands.call("commands.history.add", txt) |
| 129 | execute = commandexecutor.CommandExecutor(self.master) |
| 130 | execute(txt) |
| 131 | |
| 132 | def sig_prompt_onekey( |
| 133 | self, prompt: str, keys: list[tuple[str, str]], callback: Callable[[str], None] |