Skip to content

Fix #83: Add keyboard input support to calculator#131

Open
adhyayanmaini wants to merge 1 commit into
PuruVJ:mainfrom
adhyayanmaini:main
Open

Fix #83: Add keyboard input support to calculator#131
adhyayanmaini wants to merge 1 commit into
PuruVJ:mainfrom
adhyayanmaini:main

Conversation

@adhyayanmaini

Copy link
Copy Markdown
  • Added keyboard event listener to handle number keys (0-9)
  • Added support for operator keys (+, -, *, /)
  • Added Enter/= key for equals operation
  • Added Escape/C key for clear operation
  • Added support for decimal point (. and ,)
  • Added support for percentage key (%)

Users can now type directly into the calculator when it's focused.

- Added keyboard event listener to handle number keys (0-9)
- Added support for operator keys (+, -, *, /)
- Added Enter/= key for equals operation
- Added Escape/C key for clear operation
- Added support for decimal point (. and ,)
- Added support for percentage key (%)

Users can now type directly into the calculator when it's focused.
@changeset-bot

changeset-bot Bot commented Jan 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 430234e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Jan 16, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Purus Projects Team on Vercel.

A member of the Team first needs to authorize it.

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