Explorar o código

restore pty bufferization

Eugene Pankov %!s(int64=6) %!d(string=hai) anos
pai
achega
044a39abc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      terminus-terminal/src/services/sessions.service.ts

+ 1 - 1
terminus-terminal/src/services/sessions.service.ts

@@ -146,7 +146,7 @@ export class Session extends BaseSession {
 
         this.open = true
 
-        this.pty.onData(data => {
+        this.pty.on('data-buffered', data => {
             data = this.processOSC1337(data)
             this.emitOutput(data)
             if (process.platform === 'win32') {