mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #182] [MERGED] Allow preventDefault on global key handler to not trigger focused renderables #354
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#354
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/182
Author: @kommander
Created: 9/24/2025
Status: ✅ Merged
Merged: 9/24/2025
Merged by: @kommander
Base:
main← Head:key-event-handling📝 Commits (8)
f3e40f2introduce KeyEventc97cea3stashbc0122finternal handler576a7e8test covera020940introduce paste event24e450fcleanup18a8d66fix solidc83464cover solid preventDefault📊 Changes
29 files changed (+999 additions, -176 deletions)
View changed files
📝
packages/core/docs/getting-started.md(+2 -2)📝
packages/core/src/Renderable.ts(+16 -16)📝
packages/core/src/examples/hast-syntax-highlighting-demo.ts(+3 -3)📝
packages/core/src/examples/index.ts(+2 -2)📝
packages/core/src/examples/input-select-layout-demo.ts(+2 -2)📝
packages/core/src/examples/lib/standalone-keys.ts(+2 -2)📝
packages/core/src/examples/simple-layout-example.ts(+2 -2)📝
packages/core/src/examples/styled-text-demo.ts(+3 -3)📝
packages/core/src/lib/KeyHandler.test.ts(+252 -20)📝
packages/core/src/lib/KeyHandler.ts(+134 -17)📝
packages/core/src/lib/parse.keypress-kitty.ts(+0 -1)📝
packages/core/src/lib/parse.keypress.ts(+1 -1)📝
packages/core/src/renderables/Input.test.ts(+205 -0)📝
packages/core/src/renderables/Input.ts(+2 -2)📝
packages/core/src/renderables/ScrollBar.ts(+2 -2)📝
packages/core/src/renderables/ScrollBox.ts(+2 -2)📝
packages/core/src/renderables/Select.ts(+2 -2)📝
packages/core/src/renderables/TabSelect.ts(+2 -2)📝
packages/core/src/renderer.ts(+7 -3)📝
packages/core/src/tests/renderer.input.test.ts(+74 -73)...and 9 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.