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

Calculator: accept more keyboard input #1207

Merged
merged 3 commits into from
Feb 10, 2020
Merged

Conversation

ignas-sa
Copy link
Contributor

Allow user to clear/remove last numeral from input (Esc/Backspace
respectively) and type the decimal point.

Allow user to clear/remove last numeral from input (Esc/Backspace
respectively) and type the decimal point.
@bugaevc
Copy link
Member

bugaevc commented Feb 10, 2020

Tip: when you make a PR, please look who wrote the code you're changing, and cc them (if it wasn't @awesomekling)

The patch looks good to me, but please change the commit message to match other commit messages in the project. For example, it could be "Calculator: Accept more keyboard input"

@ignas-sa ignas-sa changed the title Calculator: additional input from keyboard Calculator: accept more keyboard input Feb 10, 2020
Copy link
Collaborator

@awesomekling awesomekling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please stick to the project coding style. You can use clang-format to automatically adjust whitespace etc.

@ignas-sa
Copy link
Contributor Author

Fixed that tab.

Copy link
Contributor Author

@ignas-sa ignas-sa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@awesomekling
Copy link
Collaborator

There are still multiple formatting issues. Please just use clang-format :)

Copy link
Contributor Author

@ignas-sa ignas-sa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope that's ok

@awesomekling awesomekling merged commit b67035c into SerenityOS:master Feb 10, 2020
@awesomekling
Copy link
Collaborator

👍

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.

None yet

3 participants