How hard would it be to implement support for it? I’m happy to write a patch if 
pointed in the right direction.

–Carl

> On Jan 8, 2023, at 4:07 PM, Nicholas Marriott <nicholas.marri...@gmail.com> 
> wrote:
> 
> OSC 52 does not work in popups at the moment.
> 
> 
> 
> 
> On Mon, 9 Jan 2023, 00:00 Carl Dong, <cont...@carldong.me 
> <mailto:cont...@carldong.me>> wrote:
>> I’m trying to use the relatively new popup window feature, but OSC52 
>> clipboards don’t seem to work. My config has the following lines:
>> 
>>         ...
>>         set -g set-clipboard on
>>         ...
>>         bind t display-popup -E
>>         …
>> 
>> In a normal non-popup pane, I check my environment:
>> 
>>         $ echo $TERM
>>         screen-256color
>> 
>>         $ tmux info|grep Ms:
>>          192: Ms: (string) \033]52;%p1%s;%p2%s\a
>> 
>> And the OSC 52 clipboard works great:
>> 
>>         $ printf "\033]52;c;$(echo outside | base64)\a”
>> 
>>         $ pbpaste
>>         outside
>> 
>> Then, in a popup pane, I check my environment again:
>> 
>>         $ echo $TERM
>>         screen-256color
>> 
>>         $ tmux info|grep Ms:
>>          192: Ms: (string) \033]52;%p1%s;%p2%s\a
>> 
>> And the OSC 52 clipboard doesn’t work at all:
>> 
>>         $ printf "\033]52;c;$(echo inside | base64)\a”
>> 
>>         $ pbpaste
>>         printf "\033]52;c;$(echo inside | base64)\a”  # This was the last 
>> thing I copied
>> 
>> I’m a bit stumped here and would appreciate any guidance
>> 
>> –Carl
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "tmux-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tmux-users+unsubscr...@googlegroups.com 
>> <mailto:tmux-users%2bunsubscr...@googlegroups.com>.
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/tmux-users/0F527D61-895C-4526-81BB-837C839B24DE%40carldong.me.

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/834C618B-E5D5-4B21-B230-8D0E179C9D21%40carldong.me.

Reply via email to