(self)
| 157 | print() |
| 158 | |
| 159 | def print_options(self): |
| 160 | for index, option in enumerate(self.options): |
| 161 | if self.auto_number: |
| 162 | option[0] = str((index + 1)) |
| 163 | print(option[0] + ". " + (option[1]() if callable(option[1]) else option[1])) |
| 164 | for i in option[2]: |
| 165 | print(" " + i) |
| 166 | if self.add_quit: |
| 167 | print(f"{self.return_option[0]}. {self.return_option[1]}") |
| 168 | print() |
| 169 | |
| 170 | def select(self): |
| 171 | print(ansiescapes.cursorSavePosition, end="") |
no outgoing calls
no test coverage detected