TUI: Alt-d should delete next word in chat prompt
Resolved 💬 2 comments Opened Feb 21, 2026 by dougEfresh Closed Feb 21, 2026
Summary
In the TUI chat prompt, Alt-d should delete the next word (readline-style). Currently it does nothing.
Expected behavior
Alt-d deletes the word ahead of the cursor without affecting earlier text.
Actual behavior
No deletion occurs when pressing Alt-d in the chat prompt.
Rationale
Readline-compatible word editing shortcuts are standard for terminal users, and Alt-b/Alt-f already move by word in the prompt. Adding Alt-d completes the common word-edit trio.
Environment
- OS: Arch Linux
- Terminal: Ghostty
- Shell: zsh
Additional context
I have a small patch + test ready locally and will wait for an invitation before opening a PR if that’s preferred.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗