mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #366] [MERGED] fix: tilde-terminated CSI sequences #484
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#484
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/366
Author: @melMass
Created: 11/30/2025
Status: ✅ Merged
Merged: 11/30/2025
Merged by: @kommander
Base:
main← Head:fix-kittykb-tilde📝 Commits (4)
574a3a6feat(keypress-kitty): ✨ add tilde key format support171652btest: 🚨 add kitty tilde keys with event types22cb498refactor(kitty): 🔨 consolidate functional and tilde key parsing124446cMerge branch 'main' into fix-kittykb-tilde📊 Changes
2 files changed (+104 additions, -18 deletions)
View changed files
📝
packages/core/src/lib/parse.keypress-kitty.test.ts(+53 -0)📝
packages/core/src/lib/parse.keypress-kitty.ts(+51 -18)📄 Description
Adds parsing for tilde-terminated CSI sequences with event types (
CSI number;modifiers:event ~).This enables press/repeat/release detection for PageUp, PageDown, Insert, Delete, Home, End, and F5-F12 keys which
use a different format than arrow keys and F1-F4.
Changes
tildeKeyMapfor tilde key number → name mappingparseKittyTildeKey()function🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.