Fixed small bug in terminal resizing. Updated readme with discord.

This commit is contained in:
Karmaa
2025-03-06 19:45:17 -06:00
parent 9ff199ea96
commit 0b00c26f8a
4 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ export const NewTerminal = forwardRef(({ hostConfig, isVisible }, ref) => {
void parentContainer.offsetHeight;
const parentWidth = parentContainer.clientWidth;
const parentHeight = parentContainer.clientHeight - 16;
const parentHeight = parentContainer.clientHeight;
terminalContainer.style.width = `${parentWidth}px`;
terminalContainer.style.height = `${parentHeight}px`;