Repository navigation
Conversation
Merged
3 of 6 tasks
simonklee
force-pushed
the
ot-feat-set-clipboard
branch
from
August 4, 2026 21:21
2362e94 to
55c0a5c
Compare
Let users choose how OpenTUI sends OSC 52 through tmux. Setups that disable passthrough can use tmux set-clipboard, and locked-down sessions can disable clipboard output instead of emitting unsupported escapes.
simonklee
force-pushed
the
ot-feat-set-clipboard
branch
from
August 4, 2026 21:22
55c0a5c to
c07306d
Compare
ayubun
suggested changes
Aug 4, 2026
ayubun
left a comment
There was a problem hiding this comment.
i still believe just sending the regular osc52 sequence as i proposed resolves this: anomalyco/opencode#30472
but if you insist on making this a config, i'd settle for raw being the default
| if (std.mem.eql(u8, value, "off")) return .off; | ||
| } | ||
| } | ||
| return .passthrough; |
There was a problem hiding this comment.
i feel as though defaulting to passthrough is a bit of a crime, given the tmux maintainer said it is not required: tmux/tmux#4214 (comment)
and tmux's own wiki documents using set-clipboard on: https://github.com/tmux/tmux/wiki/Clipboard
i would prefer this config to default to raw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let users choose how OpenTUI sends OSC 52 through tmux. Setups that disable passthrough can use tmux set-clipboard, and locked-down sessions can disable clipboard output instead of emitting unsupported escapes.