1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-09-01 06:01:53 +00:00

relax OSC52 processing rules to support tmux - fixes

This commit is contained in:
Eugene Pankov
2022-03-19 11:53:44 +01:00
parent 3bfdb95bf0
commit 45b6e21dbc

@@ -35,7 +35,7 @@ export class OSCProcessor extends SessionMiddleware {
console.debug('Unsupported OSC 1337 parameter:', paramString)
}
} else if (oscCode === 52) {
if (oscParams[0] === 'c') {
if (oscParams[0] === 'c' || oscParams[0] === '') {
const content = Buffer.from(oscParams[1], 'base64')
this.copyRequested.next(content.toString())
}