mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-13 18:14:09 +00:00
fix terminal not working
Fixes: https://github.com/pybricks/support/issues/1130
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- Fixed terminal not working (regression in 2.2.0-beta.6, [support#1130]).
|
||||
|
||||
[support#1130]: https://github.com/pybricks/support/issues/1130
|
||||
|
||||
## [2.2.0-beta.6] - 2023-06-30
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -243,8 +243,8 @@ const Terminal: React.FunctionComponent = () => {
|
||||
<source src={BELL_SOUND} />
|
||||
</audio>
|
||||
<div className="pb-terminal-bell-overlay" ref={bellOverlayRef} />
|
||||
<ResizeSensor onResize={(): void => fitAddon.fit()}>
|
||||
<div ref={terminalRef} className="h-100" />
|
||||
<ResizeSensor targetRef={terminalRef} onResize={(): void => fitAddon.fit()}>
|
||||
<div ref={terminalRef} className="h-100 pb-focus-managed" />
|
||||
</ResizeSensor>
|
||||
</ContextMenu>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user