(self)
| 206 | print('\033[8;{};{}t'.format(max(rows+6, 30), max(cols+2, 100))) |
| 207 | |
| 208 | def exit_program(self): |
| 209 | self.head() |
| 210 | width = 68 |
| 211 | print("") |
| 212 | print("For more information, to report errors, or to contribute to the product:".center(width)) |
| 213 | print("") |
| 214 | |
| 215 | separator = "─" * (width - 4) |
| 216 | print(f" ┌{separator}┐ ") |
| 217 | |
| 218 | contacts = { |
| 219 | "Facebook": "https://www.facebook.com/macforce2601", |
| 220 | "Telegram": "https://t.me/lzhoang2601", |
| 221 | "GitHub": "https://github.com/lzhoang2801/OpCore-Simplify" |
| 222 | } |
| 223 | |
| 224 | for platform, link in contacts.items(): |
| 225 | line = f" * {platform}: {link}" |
| 226 | print(f" │{line.ljust(width - 4)}│ ") |
| 227 | |
| 228 | print(f" └{separator}┘ ") |
| 229 | print("") |
| 230 | print("Thank you for using our program!".center(width)) |
| 231 | print("") |
| 232 | self.request_input("Press Enter to exit.".center(width)) |
| 233 | sys.exit(0) |
no test coverage detected