mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 21:15:52 +03:00
[PR #477] [CLOSED] fix(keypress): set option flag for legacy terminal Option+Backspace #1346
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#1346
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/477
Author: @paulbalaji
Created: 1/6/2026
Status: ❌ Closed
Base:
main← Head:fix/modifier-backspace📝 Commits (1)
47622e7fix(keypress): set option flag for legacy terminal Option+Backspace📊 Changes
2 files changed (+20 additions, -1 deletions)
View changed files
📝
packages/core/src/lib/parse.keypress.test.ts(+16 -0)📝
packages/core/src/lib/parse.keypress.ts(+4 -1)📄 Description
Summary
option: truewhen parsing legacy terminal sequences for Option+Backspace (\x1b\x7fand\x1b\b)Background
Legacy terminals (like Terminal.app on macOS) send
\x1b\x7f(ESC + DEL) for Option+Backspace. Previously, onlymeta: truewas set for this sequence, while theoptionflag was only set for modern escape sequences.This change ensures consistent behavior across all terminal types.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.