Commit e47a097
committed
fix: ensure terminal properly resizes after startup script failure
This change fixes a bug where the web terminal doesn't fit the screen properly
when a startup script fails, causing text at the bottom of the terminal to be
hidden. The solution adds a delayed second call to fitAddon.fit() after alert
changes to ensure proper terminal sizing.
Fixes #461 parent aacb11d commit e47a097
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
346 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
347 | 355 | | |
348 | 356 | | |
349 | 357 | | |
| |||
400 | 408 | | |
401 | 409 | | |
402 | 410 | | |
403 | | - | |
| 411 | + | |
0 commit comments