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

enhancement: clear result on numpad press after a result has been returned. #42

Closed

Conversation

JarrColl
Copy link

This results in the user being able to type a new calculation immediately after getting the result of the last calculation instead of just adding more digits to the end of the result.

What is it?

  • Bugfix
  • Feature
  • Codebase improvement

Description of the changes in your PR

  • clear result and formula on numpad press after the result of an operation has been returned.

Fixes the following issue(s)

Acknowledgement

@JarrColl JarrColl force-pushed the clearResultOnNumpadInput branch from 34701cc to 8b4f35b Compare January 28, 2025 23:36
…ion=""

This results in the user being able to type a new calculation
immediately after getting the result of the last calculation instead of
just adding more digits to the end of the result.
@JarrColl JarrColl force-pushed the clearResultOnNumpadInput branch from 8b4f35b to 7dbe9bc Compare January 28, 2025 23:38
@JarrColl JarrColl closed this Jan 29, 2025
@JarrColl
Copy link
Author

JarrColl commented Jan 29, 2025

broke the percent function

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.

Make the result and formula reset when a numpad key is pressed and lastKey = EQUALS.
1 participant