mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
build(deps): bump xterm and xterm-addon-fit (#1146)
* build(deps): bump xterm and xterm-addon-fit Bumps [xterm](https://github.com/xtermjs/xterm.js) and [xterm-addon-fit](https://github.com/xtermjs/xterm.js). These dependencies needed to be updated together. Updates `xterm` from 4.19.0 to 5.0.0 - [Release notes](https://github.com/xtermjs/xterm.js/releases) - [Commits](https://github.com/xtermjs/xterm.js/compare/4.19.0...5.0.0) Updates `xterm-addon-fit` from 0.5.0 to 0.6.0 - [Release notes](https://github.com/xtermjs/xterm.js/releases) - [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.6) --- updated-dependencies: - dependency-name: xterm dependency-type: direct:production update-type: version-update:semver-major - dependency-name: xterm-addon-fit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * [dependabot skip] Fix yarn.lock * fix breaking changes for xterm.js 5.x Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot-fix <dependabot-fix@example.com> Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
co-authored by
dependabot-fix
David Lechner
parent
6c373c302c
commit
189cda94b1
@@ -127,7 +127,9 @@ const Terminal: React.FC = (_props) => {
|
||||
foreground: isDarkMode ? 'white' : 'black',
|
||||
cursor: isDarkMode ? 'white' : 'black',
|
||||
// transparency is needed to work around https://github.com/xtermjs/xterm.js/issues/2808
|
||||
selection: isDarkMode ? 'rgb(81,81,81,0.5)' : 'rgba(181,213,255,0.5)', // this should match AceEditor theme
|
||||
selectionBackground: isDarkMode
|
||||
? 'rgb(81,81,81,0.5)'
|
||||
: 'rgba(181,213,255,0.5)', // this should match editor theme
|
||||
};
|
||||
}, [isDarkMode]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user