You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pbpaste | wc -c7
$ shcopy 'To use shcopy within a tmux session, make sure that the outer terminal supports OSC 52, and use one of the following options'
$ pbpaste | wc -c57
$ tmux -Vtmux 3.3a
$ cat ~/.tmux.confset -s set-clipboard on
$ shcopy -vshcopy version v0.1.3 (3e1e573)
The text was updated successfully, but these errors were encountered:
# not in tmux
$ echo$TERMxterm-256color
# in tmux
$ echo$TERMscreen-256color
# screen in tmux
$ echo$TERMscreen
$ pbpaste | wc -c6
$ shcopy 'To use shcopy within a tmux session, make sure that the outer terminal supports OSC 52, and use one of the following options'
$ pbpaste | wc -c124
OS: macOS 10.15.7
Set the default terminal for new windows created in this session - the default value of the TERM environment variable. For tmux to work correctly, this must be set to ‘screen’, ‘tmux’ or a derivative of them.
In tmux, it's quite normal for TERM to be set as screen or a screen derivative. Until macOS 14, macOS supports tmux-256color by default. Therefore, I think solely relying on TERM containing screen to determine the sequence may not be appropriate.
The text was updated successfully, but these errors were encountered: