mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #664] [MERGED] fix: emit INPUT event for all mutating edit actions in InputRenderable #1479
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#1479
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/664
Author: @kitlangton
Created: 2/10/2026
Status: ✅ Merged
Merged: 2/10/2026
Merged by: @kitlangton
Base:
main← Head:kitlangton/ctrl-w-input-event📝 Commits (3)
41e8388add failing tests for Ctrl+W/Alt+Backspace not emitting INPUT eventc1a3f9afix: emit INPUT event for all mutating edit actions in InputRenderable7ef9699add deleteLine override and test to InputRenderable📊 Changes
2 files changed (+95 additions, -0 deletions)
View changed files
📝
packages/core/src/renderables/Input.test.ts(+53 -0)📝
packages/core/src/renderables/Input.ts(+42 -0)📄 Description
InputRenderable now emits INPUT events for all text-mutating operations (Ctrl+W, Ctrl+U, Ctrl+K, undo/redo), not just single-character deletion. Fixes search filters in TUI dialogs that rely on onInput events.
Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.