diff --git a/tscreen.go b/tscreen.go index 448324b..e36e6e4 100644 --- a/tscreen.go +++ b/tscreen.go @@ -344,6 +344,11 @@ func (t *tScreen) prepareBracketedPaste() { } func (t *tScreen) prepareExtendedOSC() { + // Linux is a special beast - because it has a mouse entry, but does + // not swallow these OSC commands properly. + if (strings.Contains(t.ti.Name, "linux")) { + return; + } // More stuff for limits in terminfo. This time we are applying // the most common OSC (operating system commands). Generally // terminals that don't understand these will ignore them.