Try workaround from mosh PR #1054

This commit is contained in:
Sami Samhuri 2026-02-28 11:30:31 -08:00
parent 787da4cf93
commit ae9b658f1c
No known key found for this signature in database

View file

@ -1,8 +1,9 @@
# Enable mouse support
set -g mouse on
# Fix copying text inside mosh
set -s terminal-features 'xterm-256color:clipboard'
# Fix copying text inside mosh: force tmux to send OSC 52 with "c;" selection
# type, which is the only format mosh accepts (see mobile-shell/mosh#1054)
set -as terminal-overrides ',xterm-256color:Ms=\E]52;c%p1%.0s;%p2%s\007'
# Select next window
bind-key Space next-window