Skip to content

feat: add Cmd+Backspace keybinding to delete to line start#817

Open
remorses wants to merge 1 commit intoanomalyco:mainfrom
remorses:cmd-backspace-delete-line
Open

feat: add Cmd+Backspace keybinding to delete to line start#817
remorses wants to merge 1 commit intoanomalyco:mainfrom
remorses:cmd-backspace-delete-line

Conversation

@remorses
Copy link
Copy Markdown
Contributor

@remorses remorses commented Mar 14, 2026

Cmd+Backspace deletes to line start. standard macOS behavior that's missing from the default Textarea bindings. Matches the existing super+arrow keybindings that already handle line-level navigation.

Add `{ name: "backspace", super: true, action: "delete-to-line-start" }`
to the default Textarea key bindings. This makes Cmd+Backspace (macOS) /
Win+Backspace (Windows) delete everything from the cursor to the beginning
of the current line, matching standard text editor behavior.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 14, 2026

@opentui/core

npm i https://pkg.pr.new/@opentui/core@817

@opentui/react

npm i https://pkg.pr.new/@opentui/react@817

@opentui/solid

npm i https://pkg.pr.new/@opentui/solid@817

@opentui/core-darwin-arm64

npm i https://pkg.pr.new/@opentui/core-darwin-arm64@817

@opentui/core-darwin-x64

npm i https://pkg.pr.new/@opentui/core-darwin-x64@817

@opentui/core-linux-arm64

npm i https://pkg.pr.new/@opentui/core-linux-arm64@817

@opentui/core-linux-x64

npm i https://pkg.pr.new/@opentui/core-linux-x64@817

@opentui/core-win32-arm64

npm i https://pkg.pr.new/@opentui/core-win32-arm64@817

@opentui/core-win32-x64

npm i https://pkg.pr.new/@opentui/core-win32-x64@817

commit: 038b94b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant