fix terminal paste (inverted colors) (#271)

This commit is contained in:
Mike Sawka 2024-08-23 22:12:27 -07:00 committed by GitHub
parent 2d34a81259
commit 62d9d53e52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -285,9 +285,9 @@
}
&.is-layoutmode .block-mask-inner {
margin-top: 35px; // TODO fix this magic
margin-top: var(--header-height); // TODO fix this magic
background-color: rgba(0, 0, 0, 0.5);
height: calc(100% - 35px);
height: calc(100% - var(--header-height));
width: 100%;
display: flex;
align-items: center;

View File

@ -13,7 +13,7 @@
.view-term {
display: flex;
flex-direction: column;
flex-direction: row;
width: 100%;
height: 100%;
overflow: hidden;

View File

@ -314,6 +314,7 @@ const TerminalView = ({ blockId, model }: TerminalViewProps) => {
drawBoldTextInBrightColors: false,
fontWeight: "normal",
fontWeightBold: "bold",
allowTransparency: true,
},
{
keydownHandler: handleTerminalKeydown,