[PR #9382] fix(TUI): Add Alt+Backspace support to Dialog Select #13095

Open
opened 2026-02-16 18:17:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9382

State: open
Merged: No


Summary

Adds support for Alt+Backspace (and Option+Backspace on macOS) to delete whole words in the Dialog Select component.

Fixes #9381.

Changes

  • Updated keyboard event handling in DialogSelect to recognize Alt+Backspace (via evt.option) as a word deletion command.

How / where it was tested

I have tested that this issue is present and fixed by this PR on the following terminals:

  • Ghostty
  • VSCode built-int

My operating system is macOS Sequoia

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9382 **State:** open **Merged:** No --- ## Summary Adds support for `Alt+Backspace` (and `Option+Backspace` on macOS) to delete whole words in the Dialog Select component. Fixes #9381. ## Changes - Updated keyboard event handling in `DialogSelect` to recognize `Alt+Backspace` (via `evt.option`) as a word deletion command. ## How / where it was tested I have tested that this issue is present and fixed by this PR on the following terminals: - Ghostty - VSCode built-int My operating system is macOS Sequoia
yindo added the pull-request label 2026-02-16 18:17:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13095