TUI DialogSelect search filter does not reset after Cmd+Delete on macOS #8758

Open
opened 2026-02-16 18:10:46 -05:00 by yindo · 1 comment
Owner

Originally created by @adinschmidt on GitHub (Feb 6, 2026).

Originally assigned to: @kommander on GitHub.

Description

The DialogSelect component's search input does not reset its filter when cleared via Cmd+Delete (macOS line-clear).

Plugins

No response

OpenCode version

latest dev

Steps to reproduce

  1. Open the TUI
  2. Open any DialogSelect dialog (e.g. model picker via /models)
  3. Type a query so the list is filtered
  4. Press Cmd+Delete to clear the input

Screenshot and/or share link

No response

Operating System

macOS

Terminal

Ghostty

Originally created by @adinschmidt on GitHub (Feb 6, 2026). Originally assigned to: @kommander on GitHub. ### Description The `DialogSelect` component's search input does not reset its filter when cleared via Cmd+Delete (macOS line-clear). ### Plugins _No response_ ### OpenCode version latest dev ### Steps to reproduce 1. Open the TUI 2. Open any `DialogSelect` dialog (e.g. model picker via /models) 3. Type a query so the list is filtered 4. Press Cmd+Delete to clear the input ### Screenshot and/or share link _No response_ ### Operating System macOS ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 18:10:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6650: Clearing input with cmd+backspace breaks w/ messages_half_page_up configured

Both involve macOS line-clear keyboard shortcuts (Cmd+Delete/Cmd+Backspace) not working properly with input fields in the TUI. Feel free to ignore if this is specific to DialogSelect.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #6650: Clearing input with cmd+backspace breaks w/ `messages_half_page_up` configured Both involve macOS line-clear keyboard shortcuts (Cmd+Delete/Cmd+Backspace) not working properly with input fields in the TUI. Feel free to ignore if this is specific to DialogSelect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8758