mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #398] [MERGED] make kitty event flag optional (changes renderer option interface) #508
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#508
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/398
Author: @kommander
Created: 12/9/2025
Status: ✅ Merged
Merged: 12/9/2025
Merged by: @kommander
Base:
main← Head:optional-kitty-event-types📝 Commits (3)
6f11781optional kitty keyboard flagsa1696d3consolidate options015faccensure alias mapping works as expected📊 Changes
10 files changed (+163 additions, -33 deletions)
View changed files
📝
packages/core/dev/keypress-debug-renderer.ts(+1 -1)📝
packages/core/src/examples/keypress-debug-demo.ts(+1 -1)📝
packages/core/src/lib/keymapping.test.ts(+52 -0)📝
packages/core/src/renderer.ts(+40 -6)📝
packages/core/src/testing/test-renderer.ts(+5 -0)➕
packages/core/src/tests/renderer.kitty-flags.test.ts(+33 -0)📝
packages/core/src/zig.ts(+10 -10)📝
packages/core/src/zig/lib.zig(+4 -4)📝
packages/core/src/zig/renderer.zig(+8 -7)📝
packages/core/src/zig/terminal.zig(+9 -4)📄 Description
Kitty keyboard events like release key were activated by default when introduced, but caused some behavioural issues on older terminal emulator versions. Making it opt-in for apps.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.