mirror of https://github.com/gdamore/tcell.git
fixes #589 unexpected character linux console
This commit is contained in:
parent
7fe9d5fa9b
commit
615b4b1821
|
@ -344,6 +344,11 @@ func (t *tScreen) prepareBracketedPaste() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *tScreen) prepareExtendedOSC() {
|
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
|
// More stuff for limits in terminfo. This time we are applying
|
||||||
// the most common OSC (operating system commands). Generally
|
// the most common OSC (operating system commands). Generally
|
||||||
// terminals that don't understand these will ignore them.
|
// terminals that don't understand these will ignore them.
|
||||||
|
|
Loading…
Reference in New Issue