Skip to content

Commit 535936d

Browse files
committed
.tmux.conf: add a note about OSC 52 mosh compat, cf. mobile-shell/mosh#1054
(we don't need it because we patch mosh for more relaxed parsing of OSC 52 sequences)
1 parent a9df997 commit 535936d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.tmux.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ set -g renumber-windows on
7373
# enable OSC 52 support for the built-in selection/clipboard (see below)
7474
set -g set-clipboard on
7575
set -ag terminal-features "tmux*:clipboard:ccolour:cstyle:focus:title"
76+
# emit OSC 52 in a form acceptable to unpatched mosh (see mobile-shell/mosh#1054)
77+
# set-option -ag terminal-overrides "xterm*:Ms=\\E]52;c;%p2%s\\7"
78+
# set-option -ag terminal-overrides "tmux*:Ms=\\E]52;c;%p2%s\\7"
7679

7780
# Rebind select-pane commands to disable key repeat (really annoying)
7881
bind Up select-pane -U

0 commit comments

Comments
 (0)