fixes #589 unexpected character linux console

This commit is contained in:
Garrett D'Amore 2023-02-20 21:30:37 -08:00
parent 7fe9d5fa9b
commit 615b4b1821
1 changed files with 5 additions and 0 deletions

View File

@ -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.