[CodeHealth] Convert useAutoSize to kwargs (#2259)

This commit is contained in:
Chenlei Hu
2025-01-15 17:06:45 -05:00
committed by GitHub
parent 184291d21b
commit 84b652a281
4 changed files with 21 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ const terminalCreated = (
) => {
xterm = terminal
useAutoSize(root, true, true)
useAutoSize({ root, autoRows: true, autoCols: true })
electron.onLogMessage((message: string) => {
terminal.write(message)
})