mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #375] [MERGED] fix: Input inserting KeyEvent with modifiers as text #1276
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1276
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/375
Author: @kommander
Created: 12/2/2025
Status: ✅ Merged
Merged: 12/2/2025
Merged by: @kommander
Base:
main← Head:fix-pr-337📝 Commits (4)
d56d9f5fix: Input inserting KeyEvent with modifiers as text89819ebcheck modifiers before insert for textarea as well0405b55super/hyper17acaefadjust expectations📊 Changes
8 files changed (+432 additions, -87 deletions)
View changed files
📝
packages/core/src/lib/parse.keypress.test.ts(+100 -49)📝
packages/core/src/lib/parse.keypress.ts(+8 -4)📝
packages/core/src/renderables/Input.ts(+3 -1)📝
packages/core/src/renderables/Textarea.ts(+3 -1)📝
packages/core/src/renderables/__tests__/Textarea.keybinding.test.ts(+133 -0)📝
packages/core/src/testing/mock-keys.test.ts(+110 -0)📝
packages/core/src/testing/mock-keys.ts(+47 -10)📝
packages/core/src/tests/renderer.input.test.ts(+28 -22)📄 Description
fixes the mess in #337
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.