@setoelkahfi / svara / commits / 326cce3

chore: terminal size updates with layout

mellbacon committed Feb 2, 2024 at 18:47 UTC 326cce3e41606521cbb055451a5895be2e839874
1 file changed +2
src/App.svelte
+2
@@ -40,6 +40,7 @@
40 })
41
42 function updatePanelSize(e) {
43 + fitTerminal();
44 if ($showsidebarview) {
45 panelSize = e.detail[0].size
46 }
@@ -48,6 +49,7 @@
49 async function updateMinPanelSize() {
50
51 updateTablistWidth();
52 + fitTerminal();
53 if (!await appWindow.isFocused()) {
54 return;
55 }