diff --git a/deploy-web/package-lock.json b/deploy-web/package-lock.json index d335368b4..e0d522630 100644 --- a/deploy-web/package-lock.json +++ b/deploy-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "cloudmos-app", - "version": "1.5.5", + "version": "1.5.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cloudmos-app", - "version": "1.5.5", + "version": "1.5.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -72,7 +72,7 @@ "tss-react": "^4.8.5", "use-state-with-callback": "^3.0.2", "usehooks-ts": "^2.9.1", - "xterm": "^5.1.0", + "xterm": "^5.3.0", "xterm-addon-fit": "^0.7.0" }, "devDependencies": { @@ -15624,9 +15624,9 @@ } }, "node_modules/xterm": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/xterm/-/xterm-5.1.0.tgz", - "integrity": "sha512-LovENH4WDzpwynj+OTkLyZgJPeDom9Gra4DMlGAgz6pZhIDCQ+YuO7yfwanY+gVbn/mmZIStNOnVRU/ikQuAEQ==" + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/xterm/-/xterm-5.3.0.tgz", + "integrity": "sha512-8QqjlekLUFTrU6x7xck1MsPzPA571K5zNqWm0M0oroYEWVOptZ0+ubQSkQ3uxIEhcIHRujJy6emDWX4A7qyFzg==" }, "node_modules/xterm-addon-fit": { "version": "0.7.0", @@ -27610,9 +27610,9 @@ } }, "xterm": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/xterm/-/xterm-5.1.0.tgz", - "integrity": "sha512-LovENH4WDzpwynj+OTkLyZgJPeDom9Gra4DMlGAgz6pZhIDCQ+YuO7yfwanY+gVbn/mmZIStNOnVRU/ikQuAEQ==" + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/xterm/-/xterm-5.3.0.tgz", + "integrity": "sha512-8QqjlekLUFTrU6x7xck1MsPzPA571K5zNqWm0M0oroYEWVOptZ0+ubQSkQ3uxIEhcIHRujJy6emDWX4A7qyFzg==" }, "xterm-addon-fit": { "version": "0.7.0", diff --git a/deploy-web/package.json b/deploy-web/package.json index 598e6ef16..52942bf64 100644 --- a/deploy-web/package.json +++ b/deploy-web/package.json @@ -1,6 +1,6 @@ { "name": "cloudmos-app", - "version": "1.5.5", + "version": "1.5.6", "description": "Web UI to deploy on the Akash Network and view statistic about network usage.", "author": "Cloudmos", "private": true, @@ -76,7 +76,7 @@ "tss-react": "^4.8.5", "use-state-with-callback": "^3.0.2", "usehooks-ts": "^2.9.1", - "xterm": "^5.1.0", + "xterm": "^5.3.0", "xterm-addon-fit": "^0.7.0" }, "devDependencies": { diff --git a/deploy-web/src/lib/XTerm/XTerm.tsx b/deploy-web/src/lib/XTerm/XTerm.tsx index 7e5612fa7..1ed94e078 100644 --- a/deploy-web/src/lib/XTerm/XTerm.tsx +++ b/deploy-web/src/lib/XTerm/XTerm.tsx @@ -147,7 +147,10 @@ const XTerm: React.FunctionComponent = props => { background: theme.palette.mode === "dark" ? "#1e1e1e" : "white", foreground: theme.palette.mode === "dark" ? "white" : "black", cursor: theme.palette.mode === "dark" ? "white" : "black", - cursorAccent: theme.palette.mode === "dark" ? "#1e1e1e" : "white" + cursorAccent: theme.palette.mode === "dark" ? "#1e1e1e" : "white", + selectionBackground: theme.palette.mode === "dark" ? "white" : "black", + selectionForeground: theme.palette.mode === "dark" ? "black" : "white", + selectionInactiveBackground: theme.palette.mode === "dark" ? "white" : "black" }, cursorBlink: true });