From f7c19ce086530260867c6d76416c27a89f96643d Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Mon, 13 Apr 2020 13:33:55 +0530 Subject: [PATCH] Bump xterm from 4.4.0 to 4.5.0 --- lib/components/term.tsx | 8 ++++---- package.json | 4 ++-- yarn.lock | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/components/term.tsx b/lib/components/term.tsx index 050543e6..ff16bc44 100644 --- a/lib/components/term.tsx +++ b/lib/components/term.tsx @@ -201,12 +201,12 @@ export default class Term extends React.PureComponent { this.disposableListeners.push( this.term.onCursorMove(() => { const cursorFrame = { - x: this.term.buffer.cursorX * (this.term as any)._core._renderService.dimensions.actualCellWidth, - y: this.term.buffer.cursorY * (this.term as any)._core._renderService.dimensions.actualCellHeight, + x: this.term.buffer.active.cursorX * (this.term as any)._core._renderService.dimensions.actualCellWidth, + y: this.term.buffer.active.cursorY * (this.term as any)._core._renderService.dimensions.actualCellHeight, width: (this.term as any)._core._renderService.dimensions.actualCellWidth, height: (this.term as any)._core._renderService.dimensions.actualCellHeight, - col: this.term.buffer.cursorX, - row: this.term.buffer.cursorY + col: this.term.buffer.active.cursorX, + row: this.term.buffer.active.cursorY }; props.onCursorMove?.(cursorFrame); }) diff --git a/package.json b/package.json index 0011af98..0e6eea6b 100644 --- a/package.json +++ b/package.json @@ -50,10 +50,10 @@ "stylis": "3.5.4", "uuid": "7.0.3", "webpack-cli": "3.3.11", - "xterm": "^4.4.0", + "xterm": "^4.5.0", "xterm-addon-fit": "^0.3.0", "xterm-addon-ligatures": "^0.2.1", - "xterm-addon-search": "^0.5.0", + "xterm-addon-search": "^0.6.0", "xterm-addon-web-links": "^0.3.0", "xterm-addon-webgl": "^0.6.0" }, diff --git a/yarn.lock b/yarn.lock index 47ee52a4..a4e90a78 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8988,10 +8988,10 @@ xterm-addon-ligatures@^0.2.1: font-finder "^1.0.4" font-ligatures "^1.3.2" -xterm-addon-search@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.5.0.tgz#cd3a2f8056084c28e236d4e732da37682010bcc2" - integrity sha512-zLVqVTrg5w2nk9fRj3UuVKCPo/dmFe/cLf3EM9Is5Dm6cgOoXmeo9eq2KgD8A0gquAflTFTf0ya2NaFmShHwyg== +xterm-addon-search@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.6.0.tgz#542cc2c35e83e7332ce1982b65ad218ee769836c" + integrity sha512-k3EsZzUptCXygHFP5rQuCBdWWkI/ZNuX3pDSOVdxPV9jB7U5Aha9guTIZoMP7FIjL8jce+ClQs6q7VINcRV1+w== xterm-addon-web-links@^0.3.0: version "0.3.0" @@ -9003,10 +9003,10 @@ xterm-addon-webgl@^0.6.0: resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.6.0.tgz#1bc625dce0210ad461b8fa5618435e442984d89f" integrity sha512-1RToOJSZOF3qyJJhF9/LDHf6DNOX4mIYtpMnMNghhLUC/rZg+H5qf73dlP2KDtr9ZkZTJvVlu4SVF8lDGrvT2w== -xterm@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.4.0.tgz#5915d3c4c8800fadbcf555a0a603c672ab9df589" - integrity sha512-JGIpigWM3EBWvnS3rtBuefkiToIILSK1HYMXy4BCsUpO+O4UeeV+/U1AdAXgCB6qJrnPNb7yLgBsVCQUNMteig== +xterm@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.5.0.tgz#c7fd145c6cf91c9f2ef07011a9b35026cf4bfecc" + integrity sha512-4t12tsvtYnv13FBJwewddxdI/j4kSonmbQQv50j34R/rPIFbUNGtptbprmuUlTDAKvHLMDZ/Np2XcpNimga/HQ== y18n@^4.0.0: version "4.0.0"