mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #177] [MERGED] Support for Bracketed Paste #1130
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#1130
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/177
Author: @kommander
Created: 9/22/2025
Status: ✅ Merged
Merged: 9/22/2025
Merged by: @kommander
Base:
main← Head:bracketed-paste📝 Commits (7)
303d9c7get rid of global key handler893901fadd paste handler1452d3btest cover key handler827933dinput onPaste callback549993atest solid hooksc6ae09ftest cover02bb639rest of getKeyHandler usage removed📊 Changes
31 files changed (+371 additions, -75 deletions)
View changed files
📝
packages/core/docs/getting-started.md(+3 -3)📝
packages/core/src/Renderable.ts(+27 -0)📝
packages/core/src/ansi.ts(+4 -0)📝
packages/core/src/examples/hast-syntax-highlighting-demo.ts(+2 -3)📝
packages/core/src/examples/index.ts(+1 -2)📝
packages/core/src/examples/input-demo.ts(+2 -3)📝
packages/core/src/examples/input-select-layout-demo.ts(+2 -3)📝
packages/core/src/examples/lib/standalone-keys.ts(+1 -2)📝
packages/core/src/examples/scroll-example.ts(+1 -2)📝
packages/core/src/examples/select-demo.ts(+2 -3)📝
packages/core/src/examples/simple-layout-example.ts(+2 -3)📝
packages/core/src/examples/slider-demo.ts(+2 -3)📝
packages/core/src/examples/split-mode-demo.ts(+2 -3)📝
packages/core/src/examples/sticky-scroll-example.ts(+1 -2)📝
packages/core/src/examples/styled-text-demo.ts(+2 -3)📝
packages/core/src/examples/tab-select-demo.ts(+2 -3)➕
packages/core/src/lib/KeyHandler.test.ts(+190 -0)📝
packages/core/src/lib/KeyHandler.ts(+17 -11)📝
packages/core/src/renderables/Input.test.ts(+23 -0)📝
packages/core/src/renderables/Input.ts(+2 -2)...and 11 more files
📄 Description
Note: The input renderable/element does not automatically insert pasted text. Needs to be captured and inserted. The input renderable will be backed by an EditBuffer soon that will handle paste properly. Check the solidjs input demo on how to hook it up.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.