mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #520] [CLOSED] feat: detect image events on paste with ctrl +v or command v #1376
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#1376
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/520
Author: @tyrellshawn
Created: 1/14/2026
Status: ❌ Closed
Base:
main← Head:detect-image-events📝 Commits (10+)
5aec63bdetect image events with testsae0a0f3add examplebb0f265Merge branch 'main' into detect-image-eventsbfa893efixes123c5f8Merge branch 'main' into detect-image-eventsba45a97Merge branch 'main' into detect-image-events36d0f31;Merge branch 'detect-image-events' of https://github.com/tyrellshawn/opentui into detect-image-events331dd8fuse just the bufferda530c4Merge branch 'main' into detect-image-eventsceb4e09Merge remote-tracking branch 'upstream/main' into detect-image-events📊 Changes
15 files changed (+421 additions, -82 deletions)
View changed files
📝
bun.lock(+0 -1)📝
packages/core/src/examples/index.ts(+7 -0)➕
packages/core/src/examples/paste-demo.ts(+163 -0)➕
packages/core/src/lib/KeyHandler.paste-binary.test.ts(+31 -0)📝
packages/core/src/lib/KeyHandler.test.ts(+15 -0)📝
packages/core/src/lib/KeyHandler.ts(+38 -7)➕
packages/core/src/lib/paste-detect.test.ts(+16 -0)➕
packages/core/src/lib/paste-detect.ts(+39 -0)➕
packages/core/src/lib/stdin-buffer.paste-binary.test.ts(+26 -0)📝
packages/core/src/lib/stdin-buffer.test.ts(+2 -1)📝
packages/core/src/lib/stdin-buffer.ts(+69 -65)📝
packages/core/src/renderables/Input.ts(+1 -1)📝
packages/core/src/renderables/Textarea.ts(+11 -4)📝
packages/core/src/renderables/__tests__/Textarea.paste.test.ts(+2 -2)📝
packages/core/src/renderer.ts(+1 -1)📄 Description
Tested using the examples but havent done any integration tests with opencode yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.