CLI Interface update

This commit is contained in:
BasaiCorp
2025-03-16 09:44:31 +05:30
parent 1dba533e93
commit 21ca0a6b2d
6 changed files with 28 additions and 7 deletions

View File

@@ -473,3 +473,15 @@ if __name__ == "__main__":
print(f"\n❌ An unexpected error occurred: {str(e)}\n")
print(" Please report this issue to Prathmesh </> on Discord: prathmesh_pro")
sys.exit(1)
def run(translator=None):
"""Entry point for the totally reset cursor functionality when called from the main menu."""
try:
reset_cursor()
input("\nPress Enter to return to main menu...")
except KeyboardInterrupt:
print("\n\n🛑 Process interrupted by user. Returning to main menu...\n")
except Exception as e:
print(f"\n❌ An unexpected error occurred: {str(e)}\n")
print(" Please report this issue to Prathmesh </> on Discord: prathmesh_pro")
input("\nPress Enter to return to main menu...")