Skip to content

Refactor auto clicker for improved structure and configurability#70

Open
Tithi234 wants to merge 1 commit intoGrow-with-Open-Source:mainfrom
Tithi234:patch-2
Open

Refactor auto clicker for improved structure and configurability#70
Tithi234 wants to merge 1 commit intoGrow-with-Open-Source:mainfrom
Tithi234:patch-2

Conversation

@Tithi234
Copy link
Contributor

Summary

This PR refactors the auto clicker script to improve structure,
remove global variables, and make the click delay configurable.

Changes Made

  • Wrapped logic inside run_auto_clicker() function
  • Removed global state
  • Added configurable delay parameter
  • Added graceful KeyboardInterrupt handling
  • Improved console output

Why This Change?

Improves maintainability, readability, and overall code quality
without changing functionality.

@github-actions
Copy link

👋 @Tithi234
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant