diff --git a/src/InputHandler.ts b/src/InputHandler.ts index 56b2d8be..7a0aa8c8 100644 --- a/src/InputHandler.ts +++ b/src/InputHandler.ts @@ -329,7 +329,7 @@ export class InputHandler extends Disposable implements IInputHandler { const cursorStartX = buffer.x; const cursorStartY = buffer.y; - this._logService.debug('parsing data', data); + this._logService.debug(`parsing data "${data}"`, data.split('').map(e => e.charCodeAt(0))); if (this._parseBuffer.length < data.length) { this._parseBuffer = new Uint32Array(data.length); diff --git a/src/common/services/CoreService.ts b/src/common/services/CoreService.ts index d17b0c93..71f45e47 100644 --- a/src/common/services/CoreService.ts +++ b/src/common/services/CoreService.ts @@ -54,7 +54,7 @@ export class CoreService implements ICoreService { } // Fire onData API - this._logService.debug('sending data', data); + this._logService.debug(`sending data "${data}"`, data.split('').map(e => e.charCodeAt(0))); this._onData.fire(data); } }