Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added refresh method to Main class #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

1-0
Copy link

@1-0 1-0 commented Nov 4, 2022

Added refresh method to Main class callable for repaint region regardless of changing or saving the cursor position

@stuartlangridge
Copy link
Owner

um, ok? I mean, I can't see a reason to not do this, but equally I can't see a reason to do it either. Are you planning for there to be some other way to force a refresh, or something to be added which will want to call that method?

@1-0
Copy link
Author

1-0 commented Nov 6, 2022

This method is called 2 times (so I use DRY pattern) - cursor position changed and at timer cursor position saved.
I do not change options used - all parameters stay as is.

@stuartlangridge
Copy link
Owner

Ah, I understand; it makes the code cleaner! I'll look at merging this as soon as I can.

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.

2 participants